<!-- scrollview példa -->
<ScrollView
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent">

    <LinearLayout
        android:orientation="vertical"
        android:layout_width="match_parent"
        android:layout_height="match_parent">
        <Button
            android:id="@+id/firstbutton"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="@string/toast"/>
        <Button
            android:id="@+id/secondbutton"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="@string/alert"/>
        <Button
            android:id="@+id/thirdbutton"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="@string/log"/>
        <Button
            android:id="@+id/fourthbutton"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="@string/onelayout"/>
        <Button
            android:id="@+id/fifthbutton"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="@string/twolayout"/>
        <Button
            android:id="@+id/sixthbutton"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="@string/actforres"/>
        <Button
            android:layout_width="match_parent"
            android:layout_height="wrap_content" />
        <Button
            android:layout_width="match_parent"
            android:layout_height="wrap_content" />
        <Button
            android:layout_width="match_parent"
            android:layout_height="wrap_content" />
        <Button
            android:layout_width="match_parent"
            android:layout_height="wrap_content" />

    </LinearLayout>
</ScrollView>