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

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

Issue 2806273002: Make the Translate Overflow Menu using ListPopupWindow (Closed)
Patch Set: fix according the comments Created 3 years, 8 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: chrome/android/java/res/layout/translate_menu_item.xml
diff --git a/chrome/android/java/res/layout/translate_menu_item.xml b/chrome/android/java/res/layout/translate_menu_item.xml
new file mode 100644
index 0000000000000000000000000000000000000000..2a182f200ca8b551482af3197fc912411463766e
--- /dev/null
+++ b/chrome/android/java/res/layout/translate_menu_item.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright 2017 The Chromium Authors. All rights reserved.
+ Use of this source code is governed by a BSD-style license that can be
+ found in the LICENSE file. -->
+
+<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ style="@style/AppMenuItem"
+ 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="match_parent"
+ android:layout_height="match_parent"
+ android:layout_gravity="start"
+ android:gravity="center_vertical"
+ android:singleLine="true" />
+
+</FrameLayout>
« no previous file with comments | « chrome/android/java/res/layout/translate_menu_divider.xml ('k') | chrome/android/java/res/values/colors.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698