<?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>
<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>