blob: ebd39efdeba3f9a71d21c19a4ca0e022690ab9b1 [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"
Pankaj Garg4cad0782014-12-03 10:00:08 -080012 android:paddingLeft="?android:attr/listPreferredItemPaddingStart"
Pankaj Gargaa42e9f2014-11-06 15:07:12 -080013 android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
Pankaj Garg4cad0782014-12-03 10:00:08 -080014 android:paddingRight="?android:attr/listPreferredItemPaddingEnd"
Pankaj Gargaa42e9f2014-11-06 15:07:12 -080015 android:background="?android:attr/listChoiceBackgroundIndicator">
16 <TextView
17 android:id="@+id/menu_item_text"
Pankaj Garg49b79252014-11-07 17:33:41 -080018 android:textAppearance="?android:attr/textAppearanceSmallPopupMenu"
Pankaj Gargaa42e9f2014-11-06 15:07:12 -080019 android:layout_weight="1"
20 android:layout_width="wrap_content"
21 android:layout_height="match_parent"
22 android:layout_gravity="start"
23 android:gravity="center_vertical"
24 android:singleLine="true"
Pankaj Garg49b79252014-11-07 17:33:41 -080025 />
Pankaj Gargaa42e9f2014-11-06 15:07:12 -080026 <view
Pankaj Garg49b79252014-11-07 17:33:41 -080027 class="com.android.browser.appmenu.AppMenuItemIcon"
Pankaj Gargaa42e9f2014-11-06 15:07:12 -080028 android:id="@+id/menu_item_icon"
29 android:layout_weight="0"
30 android:layout_width="wrap_content"
31 android:layout_height="match_parent"
32 android:layout_gravity="end"
Pankaj Garg49b79252014-11-07 17:33:41 -080033 android:gravity="center_vertical"
34 />
35 <CheckBox
36 android:id="@+id/menu_item_checkbox"
37 android:layout_width="wrap_content"
38 android:layout_height="match_parent"
39 android:tint="@color/black"
Enrico Ros1f5a0952014-11-18 20:15:48 -080040 android:visibility="gone"
Pankaj Garg49b79252014-11-07 17:33:41 -080041 android:clickable="true" />
Pankaj Gargaa42e9f2014-11-06 15:07:12 -080042</LinearLayout>