1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (c) 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.
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="wrap_content"
11 android:background="?android:attr/selectableItemBackground">
13 android:id="@+id/menu_item_text"
14 android:textAppearance="?android:attr/textAppearanceLargePopupMenu"
15 android:layout_weight="1"
16 android:layout_width="wrap_content"
17 android:layout_height="?android:attr/listPreferredItemHeightSmall"
18 android:layout_gravity="start"
19 android:gravity="center_vertical"
20 android:singleLine="true"
21 android:paddingStart="9dp"
22 android:paddingEnd="9dp" />
24 class="org.chromium.chrome.browser.appmenu.AppMenu$MenuItemIcon"
25 android:id="@+id/menu_item_icon"
26 android:layout_weight="0"
27 android:layout_width="wrap_content"
28 android:layout_height="?android:attr/listPreferredItemHeightSmall"
29 android:layout_gravity="end"
30 android:gravity="center_vertical"
31 android:paddingEnd="8dp" />