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

Side by Side Diff: chrome/android/java/res/layout/translate_menu_item.xml

Issue 2806273002: Make the Translate Overflow Menu using ListPopupWindow (Closed)
Patch Set: Fix according to 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 unified diff | Download patch
OLDNEW
(Empty)
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright 2017 The Chromium Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file. -->
5
6 <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
7 style="@style/AppMenuItem"
8 android:layout_width="match_parent"
9 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
10
11 <TextView
12 android:id="@+id/menu_item_text"
13 android:textAppearance="?android:attr/textAppearanceLargePopupMenu"
14 android:layout_width="match_parent"
15 android:layout_height="match_parent"
16 android:layout_gravity="start"
17 android:gravity="center_vertical"
18 android:singleLine="true" />
19
20 </FrameLayout>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698