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..071e756f8bf02d45b197070e4630b10bf7da0f38 |
--- /dev/null |
+++ b/demos/src/main/res/layout/display_action_bar_item_setting.xml |
@@ -0,0 +1,53 @@ |
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
+ xmlns:app="http://schemas.android.com/apk/res-auto" |
+ xmlns:tools="http://schemas.android.com/tools" |
+ android:layout_width="wrap_content" |
+ android:layout_height="wrap_content" |
+ android:orientation="vertical" |
+ android:id="@+id/actiona_bar_item" |
+ tools:context=".advanced_ui_setting"> |
+ |
+ <LinearLayout |
+ android:layout_width="match_parent" |
+ android:paddingTop="@dimen/view_vertical_margin" |
+ android:orientation="horizontal" |
+ |
+ android:layout_height="@dimen/view_height"> |
+ <TextView |
+ android:id="@+id/item_description" |
+ android:layout_width="wrap_content" |
+ android:textSize="@dimen/abc_text_size_medium_material" |
+ android:layout_height="@dimen/view_height" /> |
+ <LinearLayout |
+ android:orientation="horizontal" |
+ android:layout_width="fill_parent" |
+ android:layout_height="wrap_content" |
+ android:gravity="right" > |
+ <Button |
+ android:id="@+id/item_delete" |
+ android:layout_width="30sp" |
+ android:layout_height="wrap_content" |
+ android:background="@android:drawable/ic_menu_delete" /> |
+ </LinearLayout> |
+ </LinearLayout> |
+ |
+ <TextView |
+ android:id="@+id/item_intent" |
+ android:layout_width="match_parent" |
+ android:paddingTop="@dimen/view_vertical_margin" |
+ android:textSize="@dimen/abc_text_size_medium_material" |
+ android:layout_height="@dimen/view_height" /> |
+ |
+ <TextView |
+ android:id="@+id/item_image_title" |
+ android:layout_width="match_parent" |
+ android:paddingTop="@dimen/view_vertical_margin" |
+ android:textSize="@dimen/abc_text_size_medium_material" |
+ android:layout_height="@dimen/view_height" /> |
+ |
+ <ImageView |
+ android:id="@+id/item_image" |
+ android:layout_gravity="center" |
+ android:layout_width="100sp" |
+ android:layout_height="100sp" /> |
+</LinearLayout> |