Chromium Code Reviews| 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..18ace6aaa1d43abc2bea921b5182591525a8932b |
| --- /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="48dp" > |
|
Marti Wong
2017/04/12 02:13:42
height is 48dp according to the static specs.
gone
2017/04/12 17:17:33
@dimen/min_touch_target_size?
Marti Wong
2017/04/13 02:02:12
Thanks for point this out. It seems attr/listPrefe
|
| + |
| + <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> |