| <?xml version="1.0" encoding="utf-8"?> |
| <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" |
| android:id="@+id/scroll_view" |
| android:layout_width="match_parent" |
| android:layout_height="100dp"> |
| |
| <LinearLayout |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:orientation="vertical"> |
| <!-- Spacer View --> |
| <View |
| android:layout_width="match_parent" |
| android:layout_height="60dp" |
| android:background="#FF0000FF" /> |
| <!-- Button View that is only partially visible --> |
| <Button |
| android:id="@+id/button" |
| android:layout_width="match_parent" |
| android:layout_height="60dp" |
| android:text="Click me!" /> |
| </LinearLayout> |
| </ScrollView> |