1<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4** Copyright 2013, The Android Open Source Project
5**
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
9**
10**     http://www.apache.org/licenses/LICENSE-2.0
11**
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.
17*/
18-->
19<LinearLayout
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">
28    <FrameLayout
29        android:id="@+id/icon_frame"
30        android:layout_width="wrap_content"
31        android:layout_height="wrap_content"
32        android:gravity="start|center_vertical"
33        android:minWidth="56dp"
34        android:paddingTop="4dp"
35        android:paddingBottom="4dp">
36        <androidx.preference.internal.PreferenceImageView
37            android:id="@android:id/icon"
38            android:layout_width="wrap_content"
39            android:layout_height="wrap_content"
40            settings:maxWidth="48dp"
41            settings:maxHeight="48dp" />
42    </FrameLayout>
43    <LinearLayout
44        android:layout_width="wrap_content"
45        android:layout_height="wrap_content"
46        android:layout_gravity="center_vertical"
47        android:duplicateParentState="true"
48        android:orientation="vertical">
49        <TextView
50            android:id="@android:id/title"
51            android:layout_width="wrap_content"
52            android:layout_height="wrap_content"
53            android:textAppearance="?android:attr/textAppearanceMedium"
54            android:textColor="?android:attr/textColorAlertDialogListItem"
55            android:gravity="center_vertical"
56            android:paddingEnd="7dip"
57            android:ellipsize="marquee"
58            android:duplicateParentState="true"
59            />
60        <TextView
61            android:id="@android:id/summary"
62            android:layout_width="wrap_content"
63            android:layout_height="wrap_content"
64            android:textAppearance="?android:attr/textAppearanceSmall"
65            android:gravity="center_vertical"
66            android:paddingEnd="7dip"
67            android:ellipsize="marquee"
68            android:visibility="gone"
69            android:duplicateParentState="true"
70            />
71    </LinearLayout>
72    <TextView
73        android:id="@+id/default_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/default_app"
79        android:visibility="gone"
80        android:paddingEnd="7dip"
81        android:duplicateParentState="true"
82        />
83    <TextView
84        android:id="@+id/system_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_app"
90        android:visibility="gone"
91        android:paddingEnd="7dip"
92        android:duplicateParentState="true"
93        />
94    <TextView
95        android:id="@+id/system_default_label"
96        android:layout_width="wrap_content"
97        android:layout_height="wrap_content"
98        android:textAppearance="?android:attr/textAppearanceSmall"
99        android:layout_gravity="center_vertical"
100        android:text="@string/system_default_app"
101        android:visibility="gone"
102        android:paddingEnd="7dip"
103        android:duplicateParentState="true"
104        />
105</LinearLayout>
106