[scroll_view_1.xml]
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:scrollbars="none">
<LinearLayout
android:id="@+id/layout"
android:orientation="vertical"
android:layout_width="fill_parent" android:layout_height="wrap_content">
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/scroll_view_1_text_1"/>
<Button
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/scroll_view_1_button_1"/>
.
.
.
.
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/scroll_view_1_text_6"/>
<Button
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/scroll_view_1_button_6"/>
</LinearLayout>
</ScrollView>
'old > API_Demo' 카테고리의 다른 글
Views_Layout_ScrollView_Internal Selection (0) | 2010.04.26 |
---|---|
Views_Layout_ScrollView_Long (0) | 2010.04.26 |
Views_Layout_Relative Layout_Simple Form (0) | 2010.04.26 |
Views_Layout_Relative Layout_Vertical (0) | 2010.04.26 |
Views_Layout_Linear Layout_Background Image (0) | 2010.04.26 |