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.
20 xmlns:android="http://schemas.android.com/apk/res/android"
21 xmlns:settings="http://schemas.android.com/apk/res-auto"
22 android:layout_width="match_parent"
23 android:layout_height="wrap_content"
24 android:clipToPadding="false"
25 android:minHeight="?android:attr/listPreferredItemHeight"
26 android:paddingStart="?android:attr/listPreferredItemPaddingStart"
27 android:paddingEnd="?android:attr/listPreferredItemPaddingEnd">
29 android:id="@+id/icon_frame"
30 style="@style/preference_icon_frame"
31 android:layout_width="wrap_content"
32 android:layout_height="wrap_content"
33 android:gravity="start|center_vertical"
34 android:paddingEnd="12dp"
35 android:paddingTop="4dp"
36 android:paddingBottom="4dp">
37 <android.support.v7.internal.widget.PreferenceImageView
38 android:id="@android:id/icon"
39 android:layout_width="wrap_content"
40 android:layout_height="wrap_content"
41 settings:maxWidth="48dp"
42 settings:maxHeight="48dp" />
45 android:layout_width="wrap_content"
46 android:layout_height="wrap_content"
47 android:layout_gravity="center_vertical"
48 android:duplicateParentState="true"
49 android:orientation="vertical">
51 android:id="@android:id/title"
52 android:layout_width="wrap_content"
53 android:layout_height="wrap_content"
54 android:textAppearance="?android:attr/textAppearanceMedium"
55 android:textColor="?android:attr/textColorAlertDialogListItem"
56 android:gravity="center_vertical"
57 android:paddingEnd="7dip"
58 android:ellipsize="marquee"
59 android:duplicateParentState="true"
62 android:id="@android:id/summary"
63 android:layout_width="wrap_content"
64 android:layout_height="wrap_content"
65 android:textAppearance="?android:attr/textAppearanceSmall"
66 android:gravity="center_vertical"
67 android:paddingEnd="7dip"
68 android:ellipsize="marquee"
69 android:visibility="gone"
70 android:duplicateParentState="true"
74 android:id="@+id/default_label"
75 android:layout_width="wrap_content"
76 android:layout_height="wrap_content"
77 android:textAppearance="?android:attr/textAppearanceSmall"
78 android:layout_gravity="center_vertical"
79 android:text="@string/default_app"
80 android:visibility="gone"
81 android:paddingEnd="7dip"
82 android:duplicateParentState="true"
85 android:id="@+id/system_label"
86 android:layout_width="wrap_content"
87 android:layout_height="wrap_content"
88 android:textAppearance="?android:attr/textAppearanceSmall"
89 android:layout_gravity="center_vertical"
90 android:text="@string/system_app"
91 android:visibility="gone"
92 android:paddingEnd="7dip"
93 android:duplicateParentState="true"
96 android:id="@+id/system_default_label"
97 android:layout_width="wrap_content"
98 android:layout_height="wrap_content"
99 android:textAppearance="?android:attr/textAppearanceSmall"
100 android:layout_gravity="center_vertical"
101 android:text="@string/system_default_app"
102 android:visibility="gone"
103 android:paddingEnd="7dip"
104 android:duplicateParentState="true"