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

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

Issue 2824083003: Allow to use measured width in translate overflow menu (Closed)
Patch Set: sync 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/infobar/TranslateCompactInfoBar.java » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
7 xmlns:chrome="http://schemas.android.com/apk/res-auto"
8 style="@style/AppMenuItem"
9 android:layout_width="match_parent"
10 android:layout_height="?android:attr/listPreferredItemHeightSmall" >
11
12 <org.chromium.chrome.browser.widget.TintedImageView
13 android:id="@+id/menu_item_icon"
14 android:src="@drawable/ic_check_googblue_24dp"
15 android:layout_width="24dp"
16 android:layout_height="match_parent"
17 android:layout_gravity="end"
18 android:gravity="center_vertical"
19 chrome:tint="@color/dark_mode_tint" />
20 <TextView
21 android:id="@+id/menu_item_text"
22 android:textAppearance="?android:attr/textAppearanceLargePopupMenu"
23 android:layout_width="wrap_content"
24 android:layout_height="match_parent"
25 android:layout_gravity="start"
26 android:gravity="center_vertical"
27 android:singleLine="true"
28 android:paddingStart="16dp" />
29
30 </LinearLayout>
31
OLDNEW
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/infobar/TranslateCompactInfoBar.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698