blob: cdee2fda30bd321135e6947fa362c7bdbb11a451 [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"
Pankaj Garg49b79252014-11-07 17:33:41 -080016 android:textAppearance="?android:attr/textAppearanceSmallPopupMenu"
Pankaj Gargaa42e9f2014-11-06 15:07:12 -080017 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"
Pankaj Garg49b79252014-11-07 17:33:41 -080023 />
Pankaj Gargaa42e9f2014-11-06 15:07:12 -080024 <view
Pankaj Garg49b79252014-11-07 17:33:41 -080025 class="com.android.browser.appmenu.AppMenuItemIcon"
Pankaj Gargaa42e9f2014-11-06 15:07:12 -080026 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"
Pankaj Garg49b79252014-11-07 17:33:41 -080031 android:gravity="center_vertical"
32 />
33 <CheckBox
34 android:id="@+id/menu_item_checkbox"
35 android:layout_width="wrap_content"
36 android:layout_height="match_parent"
37 android:tint="@color/black"
Enrico Ros1f5a0952014-11-18 20:15:48 -080038 android:visibility="gone"
Pankaj Garg49b79252014-11-07 17:33:41 -080039 android:clickable="true" />
Pankaj Gargaa42e9f2014-11-06 15:07:12 -080040</LinearLayout>