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

Unified Diff: chrome/android/java/res/layout/infobar_translate_compact_content.xml

Issue 2788343002: Translate page in the new UI. (Closed)
Patch Set: refactor Created 3 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
« no previous file with comments | « no previous file | chrome/android/java/res/values/dimens.xml » ('j') | chrome/android/java/res/values/dimens.xml » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/res/layout/infobar_translate_compact_content.xml
diff --git a/chrome/android/java/res/layout/infobar_translate_compact_content.xml b/chrome/android/java/res/layout/infobar_translate_compact_content.xml
index 9e83cd7cf687e2a31ae7738577bb07cf61ffd47b..8993213fe262c3ec60dda2b8acb7983a79974248 100644
--- a/chrome/android/java/res/layout/infobar_translate_compact_content.xml
+++ b/chrome/android/java/res/layout/infobar_translate_compact_content.xml
@@ -17,6 +17,9 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
+ android:requiresFadingEdge="horizontal"
+ android:fadingEdgeLength="@dimen/infobar_translate_fade_edge_length"
+ app:tabIndicatorColor="@color/infobar_accent_blue"
app:tabGravity="fill"
app:tabMode="scrollable" />
@@ -24,6 +27,9 @@
android:id="@+id/translate_infobar_menu_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
+ android:minHeight="@dimen/min_touch_target_size"
+ android:minWidth="@dimen/min_touch_target_size"
+ android:scaleType="center"
android:background="?attr/selectableItemBackground"
android:contentDescription="@null"
android:src="@drawable/btn_menu" />
gone 2017/04/04 18:44:37 I think this thing needs to be tinted gray like th
Leo 2017/04/05 08:37:47 Thanks for the tips. I will try it in a separate C
« no previous file with comments | « no previous file | chrome/android/java/res/values/dimens.xml » ('j') | chrome/android/java/res/values/dimens.xml » ('J')

Powered by Google App Engine
This is Rietveld 408576698