Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3531)

Unified Diff: demos/src/main/res/layout/display_action_bar_item_setting.xml

Issue 1603383003: color, package and action bar configuration. (Closed) Base URL: https://github.com/GoogleChrome/custom-tabs-client.git@master
Patch Set: Added action bar configuration item. Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..936969a527d66120abdfbdc3dee8c49364a13168
--- /dev/null
+++ b/demos/src/main/res/layout/display_action_bar_item_setting.xml
@@ -0,0 +1,64 @@
+<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"
Ian Wen 2016/02/09 00:14:16 If there is only one item in a layout, remove that
+ android:layout_width="30sp"
+ android:layout_height="wrap_content"
+ android:background="@android:drawable/ic_menu_delete" />
+ </LinearLayout>
+ </LinearLayout>
+
+ <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_intent"
+ android:layout_width="match_parent"
+ android:textSize="@dimen/abc_text_size_medium_material"
+ android:layout_height="@dimen/view_height" />
+ </LinearLayout>
+
+ <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_image_title"
+ android:layout_width="match_parent"
+ android:textSize="@dimen/abc_text_size_medium_material"
+ android:layout_height="@dimen/view_height"
+ />
+ </LinearLayout>
+
+ <ImageView
+ android:id="@+id/item_image"
+ android:layout_gravity="center"
+ android:layout_width="100sp"
+ android:layout_height="100sp" />
+</LinearLayout>

Powered by Google App Engine
This is Rietveld 408576698