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

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

Issue 2901913003: Move the check icon of menu to the right (Closed)
Patch Set: sync & merge Created 3 years, 7 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/res/layout/translate_menu_item_checked.xml
diff --git a/chrome/android/java/res/layout/translate_menu_item_checked.xml b/chrome/android/java/res/layout/translate_menu_item_checked.xml
index 39705a41bd6b4f6e4fe196f58bb79cf2c8ff7e47..64b527f61e809ffb828dae2717c25130d465f230 100644
--- a/chrome/android/java/res/layout/translate_menu_item_checked.xml
+++ b/chrome/android/java/res/layout/translate_menu_item_checked.xml
@@ -14,6 +14,16 @@
android:layout_width="match_parent"
android:layout_height="?android:attr/listPreferredItemHeightSmall" >
+ <TextView
+ android:id="@+id/menu_item_text"
+ android:textAppearance="?android:attr/textAppearanceLargePopupMenu"
+ android:layout_width="0dp"
+ android:layout_height="match_parent"
+ android:layout_weight="1"
+ android:layout_gravity="start"
+ android:gravity="center_vertical"
+ android:singleLine="true"
+ android:paddingEnd="16dp" />
<org.chromium.chrome.browser.widget.TintedImageView
android:id="@+id/menu_item_icon"
android:src="@drawable/ic_check_googblue_24dp"
@@ -22,15 +32,6 @@
android:layout_gravity="end"
android:gravity="center_vertical"
chrome:chrometint="@color/dark_mode_tint" />
- <TextView
- android:id="@+id/menu_item_text"
- android:textAppearance="?android:attr/textAppearanceLargePopupMenu"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:layout_gravity="start"
- android:gravity="center_vertical"
- android:singleLine="true"
- android:paddingStart="16dp" />
</LinearLayout>
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698