Roll src/third_party/WebKit 3529d49:06e8485 (svn 202554:202555)
[chromium-blink-merge.git] / chrome / android / java / res / layout / menu_item.xml
blob668c7e5531b7b0facf35a1e282cd8a34d39cdd29
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright 2011 The Chromium Authors. All rights reserved.
4      Use of this source code is governed by a BSD-style license that can be
5      found in the LICENSE file.
6 -->
7 <!-- Layout for each item in the menu popup -->
8 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
9     android:layout_width="match_parent"
10     android:layout_height="?android:attr/listPreferredItemHeightSmall"
11     android:paddingStart="16dp"
12     android:paddingEnd="16dp"
13     android:background="?attr/listChoiceBackgroundIndicator">
14     <TextView
15         android:id="@+id/menu_item_text"
16         android:textAppearance="?android:attr/textAppearanceLargePopupMenu"
17         android:layout_weight="1"
18         android:layout_width="wrap_content"
19         android:layout_height="match_parent"
20         android:layout_gravity="start"
21         android:gravity="center_vertical"
22         android:singleLine="true"
23         android:paddingEnd="9dp" />
24     <view
25         class="org.chromium.chrome.browser.appmenu.AppMenuItemIcon"
26         android:id="@+id/menu_item_icon"
27         android:layout_weight="0"
28         android:layout_width="wrap_content"
29         android:layout_height="match_parent"
30         android:layout_gravity="end"
31         android:gravity="center_vertical" />
32 </LinearLayout>