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

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

Issue 1603383003: color, package and action bar configuration. (Closed) Base URL: https://github.com/GoogleChrome/custom-tabs-client.git@master
Patch Set: fixes 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/dialogue_add_actionbar_item.xml
diff --git a/demos/src/main/res/layout/dialogue_add_actionbar_item.xml b/demos/src/main/res/layout/dialogue_add_actionbar_item.xml
new file mode 100644
index 0000000000000000000000000000000000000000..488598ddc81aa7e1d0f6eca2df46cd6e31ab555a
--- /dev/null
+++ b/demos/src/main/res/layout/dialogue_add_actionbar_item.xml
@@ -0,0 +1,75 @@
+<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="match_parent"
+ android:layout_height="match_parent"
+ android:paddingLeft="@dimen/activity_horizontal_margin"
+ android:paddingRight="@dimen/activity_horizontal_margin"
Ian Wen 2016/02/10 02:36:06 Two issues: 1. Use padding instead of four padding
BigBossZhiling 2016/02/17 05:18:09 Done.
+ android:paddingTop="@dimen/activity_vertical_margin"
+ android:paddingBottom="@dimen/activity_vertical_margin"
+ android:orientation="vertical"
+ tools:context=".AddActionBarItemDialog">
+
+ <EditText
+ android:id="@+id/description"
+ android:hint="Description for the action."
+ android:layout_width="match_parent"
+ android:textSize="@dimen/abc_text_size_medium_material"
+ android:text="Great Feature"
+ android:layout_height="wrap_content"
+ android:inputType="text" />
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:paddingTop="@dimen/view_vertical_margin"
+ android:layout_height="@dimen/view_height"
+ android:orientation="horizontal">
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:paddingLeft="5sp"
+ android:textSize="@dimen/abc_text_size_medium_material"
+ android:text="Action:"/>
+
+ <Spinner
+ android:paddingLeft="@dimen/spinner_padding_left"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:id="@+id/intent" />
+ </LinearLayout>
+
+ <ImageView
+ android:id="@+id/imageInDialogue"
+ android:layout_gravity="center"
+ android:layout_width="100sp"
+ android:layout_height="100sp"
+ android:src="@drawable/ic_action_name" />
+
+ <Button
+ android:id="@+id/select_file"
+ android:layout_gravity="center_horizontal"
+ android:paddingTop="@dimen/button_padding_top"
+ android:layout_width="@dimen/button_width"
+ android:layout_height="@dimen/button_height"
+ android:textSize="@dimen/abc_text_size_medium_material"
+ android:text="@string/label_select_image" />
+
+ <Button
+ android:id="@+id/save_item"
+ android:layout_gravity="center_horizontal"
+ android:paddingTop="@dimen/button_padding_top"
+ android:layout_width="@dimen/button_width"
+ android:layout_height="@dimen/button_height"
+ android:textSize="@dimen/abc_text_size_medium_material"
+ android:text="@string/label_save" />
+
+ <Button
+ android:id="@+id/cancel"
+ android:layout_gravity="center_horizontal"
+ android:paddingTop="@dimen/button_padding_top"
+ android:layout_width="@dimen/button_width"
+ android:layout_height="@dimen/button_height"
+ android:textSize="@dimen/abc_text_size_medium_material"
+ android:text="@string/label_cancel" />
+</LinearLayout>

Powered by Google App Engine
This is Rietveld 408576698