<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:background="@drawable/blue"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:padding="10dip">
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/linear_layout_5_instructions"/>
<EditText
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="@android:drawable/editbox_background"/>
<LinearLayout
android:orientation="horizontal"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="right" >
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/linear_layout_5_cancel"/>
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10dip"
android:text="@string/linear_layout_5_ok" />
</LinearLayout>
</LinearLayout>
'old > API_Demo' 카테고리의 다른 글
Views_Layout_Linear Layout_Fill Parent (0) | 2010.04.26 |
---|---|
Views_Layout_Linear Layout_Uniform Size (0) | 2010.04.26 |
Views_Layout_Linear Layout_Horizontal (0) | 2010.04.26 |
Views_Layout_Linear Layout_Vertical (0) | 2010.04.26 |
Views_Layout_BaseLine (0) | 2010.04.26 |