blob: 66bbb8299f4ffc3d7bf7c85efcb2ce8ac6835cbf [file] [log] [blame]
Pankaj Gargaa42e9f2014-11-06 15:07:12 -08001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright 2011 The Chromium Authors. All rights reserved.
3
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="?android:attr/listPreferredItemPaddingStart"
12 android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
13 android:background="?android: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>