1 <?xml version="1.0" encoding="utf-8"?>
4 ** Copyright 2013, The Android Open Source Project
6 ** Licensed under the Apache License, Version 2.0 (the "License");
7 ** you may not use this file except in compliance with the License.
8 ** You may obtain a copy of the License at
10 ** http://www.apache.org/licenses/LICENSE-2.0
12 ** Unless required by applicable law or agreed to in writing, software
13 ** distributed under the License is distributed on an "AS IS" BASIS,
14 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 ** See the License for the specific language governing permissions and
16 ** limitations under the License.
19 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
20 android:layout_width="match_parent"
21 android:layout_height="wrap_content"
22 android:minHeight="?android:attr/listPreferredItemHeight"
23 android:padding="6dip">
25 android:id="@android:id/icon"
26 android:layout_width="wrap_content"
27 android:layout_height="match_parent"
28 android:adjustViewBounds="true"
29 android:padding="6dip"
30 android:duplicateParentState="true"
33 android:layout_width="wrap_content"
34 android:layout_height="wrap_content"
35 android:layout_gravity="center_vertical"
36 android:duplicateParentState="true"
37 android:orientation="vertical">
39 android:id="@android:id/title"
40 android:layout_width="wrap_content"
41 android:layout_height="wrap_content"
42 android:textAppearance="?android:attr/textAppearanceMedium"
43 android:textColor="?android:attr/textColorAlertDialogListItem"
44 android:gravity="center_vertical"
45 android:paddingEnd="7dip"
46 android:ellipsize="marquee"
47 android:duplicateParentState="true"
50 android:id="@android:id/summary"
51 android:layout_width="wrap_content"
52 android:layout_height="wrap_content"
53 android:textAppearance="?android:attr/textAppearanceSmall"
54 android:gravity="center_vertical"
55 android:paddingEnd="7dip"
56 android:ellipsize="marquee"
57 android:visibility="gone"
58 android:duplicateParentState="true"
62 android:id="@+id/default_label"
63 android:layout_width="wrap_content"
64 android:layout_height="wrap_content"
65 android:textAppearance="?android:attr/textAppearanceSmall"
66 android:layout_gravity="center_vertical"
67 android:text="@string/default_app"
68 android:visibility="gone"
69 android:paddingEnd="7dip"
70 android:duplicateParentState="true"
73 android:id="@+id/system_label"
74 android:layout_width="wrap_content"
75 android:layout_height="wrap_content"
76 android:textAppearance="?android:attr/textAppearanceSmall"
77 android:layout_gravity="center_vertical"
78 android:text="@string/system_app"
79 android:visibility="gone"
80 android:paddingEnd="7dip"
81 android:duplicateParentState="true"
84 android:id="@+id/system_default_label"
85 android:layout_width="wrap_content"
86 android:layout_height="wrap_content"
87 android:textAppearance="?android:attr/textAppearanceSmall"
88 android:layout_gravity="center_vertical"
89 android:text="@string/system_default_app"
90 android:visibility="gone"
91 android:paddingEnd="7dip"
92 android:duplicateParentState="true"