Twitter Facebook Delicious Digg Stumbleupon Favorites More

Friday 28 July 2017

scroll view in android studio

<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context="com.example.viraj.scrollview.MainActivity">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical">


        <Button
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:text="HELLO VIRAJ"/>
        <Button
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:text="HELLO VIRAJ"/>
        <Button
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:text="HELLO VIRAJ"/>
        <Button
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:text="HELLO VIRAJ"/>
        <Button
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:text="HELLO VIRAJ"/>
        <Button
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:text="HELLO VIRAJ"/>
        <Button
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:text="HELLO VIRAJ"/>
        <Button
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:text="HELLO VIRAJ"/>
        <Button
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:text="HELLO VIRAJ"/>
        <Button
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:text="HELLO VIRAJ"/>
        <Button
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:text="HELLO VIRAJ"/>
        <Button
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:text="HELLO VIRAJ"/><Button
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:text="HELLO VIRAJ"/><Button
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:text="HELLO VIRAJ"/>
        <Button
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:text="HELLO VIRAJ"/>
        <Button
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:text="HELLO VIRAJ"/>
        <Button
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:text="HELLO VIRAJ"/><Button
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:text="HELLO VIRAJ"/><Button
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:text="HELLO VIRAJ"/><Button
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:text="HELLO VIRAJ"/><Button
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:text="HELLO VIRAJ"/>

  </LinearLayout>
</ScrollView>

Share:

0 comments:

Post a Comment

Blogger Tutorials

Blogger Templates

Sample Text

Copyright © ANDROID TUTORIAL CODE | Powered by Blogger
Design by SimpleWpThemes | Blogger Theme by NewBloggerThemes.com & Distributed By Protemplateslab