blob: 767b2c0e59b585130d20513a71b11ac465a44d18 [file] [log] [blame]
Steve Kondik03b56502016-09-10 17:17:25 -07001<?xml version="1.0" encoding="utf-8"?>
2
3<!-- Copyright (C) 2011 The Android Open Source Project
4
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8
9 http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16-->
17
18<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
19 android:layout_width="match_parent"
20 android:layout_height="wrap_content"
21 android:gravity="center_vertical"
22 android:minHeight="?android:attr/listPreferredItemHeight">
23
24 <LinearLayout
25 android:id="@+id/profiles_pref"
26 android:layout_width="wrap_content"
27 android:layout_height="match_parent"
28 android:layout_weight="1"
29 android:background="?android:attr/selectableItemBackground"
30 android:clickable="true"
31 android:focusable="true"
32 android:gravity="center_vertical"
33 android:paddingStart="@*android:dimen/preference_item_padding_side">
34
35 <LinearLayout
36 android:id="@android:id/widget_frame"
37 android:layout_width="wrap_content"
38 android:layout_height="wrap_content"
39 android:layout_marginEnd="4dip"
40 android:layout_marginStart="10dip"
41 android:gravity="center_vertical"
42 android:orientation="vertical" />
43
44 <LinearLayout
45 android:layout_width="wrap_content"
46 android:layout_height="match_parent"
47 android:layout_weight="1"
48 android:clickable="true"
49 android:focusable="true"
50 android:gravity="center_vertical"
51 android:orientation="vertical">
52
53 <TextView
Steve Kondikf0964652016-09-19 23:01:42 -070054 android:id="@android:id/title"
Steve Kondik03b56502016-09-10 17:17:25 -070055 android:layout_width="wrap_content"
56 android:layout_height="wrap_content"
57 android:ellipsize="end"
58 android:singleLine="true"
59 android:textAppearance="?android:attr/textAppearanceMedium" />
60
61 <TextView
Steve Kondikf0964652016-09-19 23:01:42 -070062 android:id="@android:id/summary"
Steve Kondik03b56502016-09-10 17:17:25 -070063 android:layout_width="wrap_content"
64 android:layout_height="wrap_content"
65 android:textAppearance="?android:attr/textAppearanceSmall" />
66
67 </LinearLayout>
68
69 </LinearLayout>
70
71 <View
72 android:layout_width="2dip"
73 android:layout_height="match_parent"
74 android:layout_marginBottom="5dip"
75 android:layout_marginTop="5dip"
76 android:background="@android:drawable/divider_horizontal_dark" />
77
78 <ImageView
79 android:id="@+id/profiles_settings"
80 android:layout_width="wrap_content"
81 android:layout_height="fill_parent"
82 android:layout_gravity="center"
83 android:background="?android:attr/selectableItemBackground"
84 android:clickable="true"
85 android:contentDescription="@string/settings"
86 android:focusable="true"
87 android:paddingEnd="12dp"
88 android:paddingStart="12dip"
89 android:src="@drawable/ic_sysbar_quicksettings" />
90
91</LinearLayout>