| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- <?xml version="1.0" encoding="utf-8"?>
- <RelativeLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:padding="10dip">
- <TextView android:id="@+id/header"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentTop="true"
- android:text="@string/shirtcut_header"
- />
- <Button android:id="@+id/pick_activity"
- android:text="@string/shirtcut_pick_activity"
- android:layout_height="wrap_content"
- android:layout_width="fill_parent"
- android:layout_below="@id/header"
- />
- <ImageButton android:id="@+id/pick_icon"
- android:src="@drawable/ic_launcher_shortcut"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_below="@id/pick_activity"
- android:layout_alignParentLeft="true"
- />
- <EditText android:id="@+id/shirtcut_label"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_below="@id/pick_activity"
- android:layout_toRightOf="@id/pick_icon"
- android:layout_centerHorizontal="true"
- android:text="@string/shirtcut_label"
- />
- <LinearLayout
- android:layout_height="wrap_content"
- android:layout_width="fill_parent"
- android:orientation="horizontal"
- android:layout_below="@id/pick_icon" >
- <Button android:id="@+id/shirtcut_ok"
- android:text="@android:string/ok"
- android:layout_height="wrap_content"
- android:layout_width="wrap_content"
- android:layout_weight="1"
- />
- <Button android:id="@+id/shirtcut_revert"
- android:text="@string/shirtcuts_revert"
- android:layout_height="wrap_content"
- android:layout_width="wrap_content"
- android:layout_weight="1"
- android:visibility="gone"
- />
- </LinearLayout>
- </RelativeLayout>
|