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

Unified Diff: demos/src/main/res/layout/activity_custom_ui.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, 9 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/activity_custom_ui.xml
diff --git a/demos/src/main/res/layout/activity_custom_ui.xml b/demos/src/main/res/layout/activity_custom_ui.xml
index 4513424d44922a31112e88ec1eb7327845f1edba..b7319a60b2f9933f74912ab5120ca024352dbe69 100644
--- a/demos/src/main/res/layout/activity_custom_ui.xml
+++ b/demos/src/main/res/layout/activity_custom_ui.xml
@@ -40,30 +40,9 @@
<LinearLayout
android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:paddingTop="@dimen/view_vertical_margin"
- android:orientation="vertical">
-
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textSize="@dimen/abc_text_size_medium_material"
- android:text="@string/label_toobar_color"/>
-
- <EditText
- android:id="@+id/custom_toolbar_color"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:singleLine="true"
- android:hint="@string/default_toolbar_color"
- android:text="@string/default_toolbar_color"/>
-
- </LinearLayout>
-
- <LinearLayout
- android:layout_width="match_parent"
android:paddingTop="@dimen/view_vertical_margin"
android:orientation="horizontal"
+ android:minHeight="@dimen/view_height"
android:layout_height="wrap_content">
<TextView
@@ -83,6 +62,7 @@
<LinearLayout
android:layout_width="match_parent"
android:paddingTop="@dimen/view_vertical_margin"
+ android:minHeight="@dimen/view_height"
android:layout_height="wrap_content">
<TextView
@@ -102,6 +82,7 @@
<LinearLayout
android:layout_width="match_parent"
android:paddingTop="@dimen/view_vertical_margin"
+ android:minHeight="@dimen/view_height"
android:layout_height="wrap_content">
<TextView
@@ -121,6 +102,7 @@
<LinearLayout
android:layout_width="match_parent"
android:paddingTop="@dimen/view_vertical_margin"
+ android:minHeight="@dimen/view_height"
android:layout_height="wrap_content">
<TextView
@@ -140,6 +122,7 @@
<LinearLayout
android:layout_width="match_parent"
android:paddingTop="@dimen/view_vertical_margin"
+ android:minHeight="@dimen/view_height"
android:layout_height="wrap_content">
<TextView
@@ -157,10 +140,21 @@
</LinearLayout>
<Button
+ android:id="@+id/advanced_ui_setting"
+ 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_advanced_ui_setting" />
+
+ <Button
android:id="@+id/start_custom_tab"
android:layout_gravity="center_horizontal"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
+ 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_start_custom_tab" />
</LinearLayout>

Powered by Google App Engine
This is Rietveld 408576698