blob: df6462e33a4ae25866159a04d271d1ad3c2844e9 [file] [log] [blame]
Gurpreet Singh71387882023-01-09 19:07:43 +00001<?xml version="1.0" encoding="utf-8"?>
2<!--
3/* //device/apps/common/assets/res/any/layout/menu_item.xml
4**
5** Copyright 2006, The Android Open Source Project
6**
7** Licensed under the Apache License, Version 2.0 (the "License");
8** you may not use this file except in compliance with the License.
9** You may obtain a copy of the License at
10**
11** http://www.apache.org/licenses/LICENSE-2.0
12**
13** Unless required by applicable law or agreed to in writing, software
14** distributed under the License is distributed on an "AS IS" BASIS,
15** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16** See the License for the specific language governing permissions and
17** limitations under the License.
18*/
19-->
20<MenuItemView xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="horizontal" android:focusable="true" >
21
22 <TextView android:id="@+id/index"
23 android:paddingStart="0dip" android:paddingTop="1dip"
24 android:paddingEnd="8dip" android:paddingBottom="0dip"
25 android:layout_width="17dip" android:layout_height="wrap_content"
26 android:includeFontPadding="false" />
27
28 <ImageView android:id="@+id/check"
29 android:paddingStart="3dip" android:paddingTop="3dip"
30 android:paddingEnd="3dip" android:paddingBottom="0dip"
31 android:src="@drawable/menuitem_checkbox" android:scaleType="fitCenter"
32 android:layout_width="wrap_content" android:layout_height="wrap_content" />
33
34 <TextView android:id="@+id/title"
35 android:paddingStart="0dip" android:paddingTop="1dip"
36 android:paddingEnd="0dip" android:paddingBottom="2dip"
37 android:layout_width="wrap_content" android:layout_height="wrap_content"
38 android:layout_weight="1" android:includeFontPadding="false" />
39
40 <TextView android:id="@+id/shortcut"
41 android:paddingStart="8dip" android:paddingTop="0dip"
42 android:paddingEnd="0dip" android:paddingBottom="0dip"
43 android:layout_width="20dip" android:layout_height="wrap_content"
44 android:gravity="center_horizontal" android:includeFontPadding="true"/>
45
46</MenuItemView>
47