[linear_layout_6.xml] - Uniform Size

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:background="@drawable/blue"
    android:padding="20dip"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content">

    <TextView
        android:background="@drawable/box"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:text="@string/linear_layout_6_one"/>

    <TextView
        android:background="@drawable/box"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:text="@string/linear_layout_6_two"/>

    <TextView
        android:background="@drawable/box"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:text="@string/linear_layout_6_three"/>

    <TextView
        android:background="@drawable/box"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:text="@string/linear_layout_6_four"/>

</LinearLayout>


'old > API_Demo' 카테고리의 다른 글

Views_Layout_Linear Layout_Gravity  (0) 2010.04.26
Views_Layout_Linear Layout_Fill Parent  (0) 2010.04.26
Views_Layout_Linear Layout_Simple Form  (0) 2010.04.26
Views_Layout_Linear Layout_Horizontal  (0) 2010.04.26
Views_Layout_Linear Layout_Vertical  (0) 2010.04.26
Posted by jazzlife
,