Index: demos/src/main/res/layout/display_action_bar_item_setting.xml |
diff --git a/demos/src/main/res/layout/display_action_bar_item_setting.xml b/demos/src/main/res/layout/display_action_bar_item_setting.xml |
new file mode 100644 |
index 0000000000000000000000000000000000000000..bcc47fa2316c761709c5d2bcbabb71e38703eb42 |
--- /dev/null |
+++ b/demos/src/main/res/layout/display_action_bar_item_setting.xml |
@@ -0,0 +1,66 @@ |
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
+ xmlns:app="http://schemas.android.com/apk/res-auto" |
Ian Wen
2016/03/16 01:35:30
You miss copyright info in this file.
BigBossZhiling
2016/03/18 00:59:07
Done.
|
+ xmlns:tools="http://schemas.android.com/tools" |
+ android:layout_width="match_parent" |
+ android:layout_height="match_parent" |
+ android:orientation="vertical" |
+ android:id="@+id/actiona_bar_item" |
+ tools:context=".advanced_ui_setting"> |
+ |
+ <LinearLayout |
+ android:layout_width="fill_parent" |
+ android:orientation="horizontal" |
+ android:layout_height="@dimen/view_height"> |
+ <TextView |
+ android:layout_width="wrap_content" |
+ android:text='Description ' |
+ android:textSize="@dimen/abc_text_size_medium_material" |
+ android:layout_height="@dimen/view_height" /> |
+ <EditText |
+ android:id="@+id/item_description" |
+ android:hint="Description for the action." |
+ android:layout_width="wrap_content" |
+ android:textSize="@dimen/abc_text_size_medium_material" |
+ android:layout_height="wrap_content" |
+ android:inputType="text" /> |
+ <LinearLayout |
+ android:layout_width="match_parent" |
+ android:layout_height="wrap_content" |
+ android:gravity="right"> |
+ <Button |
+ android:id="@+id/select_file" |
+ android:layout_width="30dp" |
+ android:layout_height="45dp" |
+ android:background="@android:drawable/ic_menu_search" /> |
+ |
+ <Button |
+ android:id="@+id/item_delete" |
+ android:layout_width="30dp" |
+ android:layout_height="45dp" |
+ android:background="@android:drawable/ic_menu_delete" /> |
+ </LinearLayout> |
+ </LinearLayout> |
+ |
+ <LinearLayout |
+ android:layout_width="fill_parent" |
+ android:orientation="horizontal" |
+ android:layout_height="@dimen/view_height"> |
+ <TextView |
+ android:layout_width="wrap_content" |
+ android:text="Intent " |
+ android:textSize="@dimen/abc_text_size_medium_material" |
+ android:layout_height="@dimen/view_height" /> |
+ <Spinner |
+ android:paddingLeft="@dimen/spinner_padding_left" |
+ android:layout_width="match_parent" |
+ android:layout_height="wrap_content" |
+ android:id="@+id/item_intent" /> |
+ </LinearLayout> |
+ |
+ <ImageView |
+ android:paddingTop="@dimen/view_vertical_margin" |
+ android:id="@+id/item_image" |
+ android:layout_gravity="center" |
+ android:layout_width="100sp" |
+ android:layout_height="100sp" /> |
+</LinearLayout> |