blob: e76190fd2189fe8290879387edad83d27557f405 [file] [log] [blame]
Jason Monkb37e2882016-01-11 14:27:20 -05001<?xml version="1.0" encoding="utf-8"?>
2<!--
3 Copyright (C) 2016 The Android Open Source Project
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at"+
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15-->
16
17<LinearLayout
18 xmlns:android="http://schemas.android.com/apk/res/android"
19 android:layout_width="match_parent"
20 android:layout_height="wrap_content"
Fan Zhangec407ff2016-12-19 11:14:59 -080021 android:paddingStart="@dimen/preference_no_icon_padding_start"
Jason Monkb37e2882016-01-11 14:27:20 -050022 android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
23 android:orientation="vertical">
24
25 <TextView
26 android:id="@android:id/title"
27 android:layout_width="match_parent"
28 android:layout_height="wrap_content"
Jason Monkb37e2882016-01-11 14:27:20 -050029 android:layout_marginTop="0dp"
30 android:layout_marginBottom="5dp"
Andrew Sappersteinbe3972d2017-06-08 17:27:14 -070031 android:fontFamily="@*android:string/config_headlineFontFamily"
32 android:paddingTop="0dp"
Jason Monkb37e2882016-01-11 14:27:20 -050033 android:textColor="?android:attr/colorAccent"
Amin Shaikha5e8bdd2018-12-19 14:42:59 -050034 android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Display1"
Jason Monkb37e2882016-01-11 14:27:20 -050035 />
36
37 <TextView android:id="@android:id/summary"
38 android:layout_width="match_parent"
39 android:layout_height="wrap_content"
40 android:textAppearance="?android:attr/textAppearanceListItemSecondary"
41 android:textColor="?android:attr/textColorSecondary"
42 android:paddingBottom="5dp"
43 android:maxLines="10" />
44
Andrew Sapperstein38bf1922018-03-18 15:53:09 -070045 <ProgressBar
Jason Monkb37e2882016-01-11 14:27:20 -050046 android:id="@+id/color_bar"
Andrew Sapperstein38bf1922018-03-18 15:53:09 -070047 style="?android:attr/progressBarStyleHorizontal"
Jason Monkb37e2882016-01-11 14:27:20 -050048 android:layout_width="match_parent"
Andrew Sapperstein38bf1922018-03-18 15:53:09 -070049 android:layout_height="wrap_content"
50 android:progressDrawable="@drawable/color_bar_progress"/>
Jason Monkb37e2882016-01-11 14:27:20 -050051
52 <LinearLayout
53 android:id="@+id/label_bar"
54 android:layout_width="match_parent"
55 android:layout_height="wrap_content"
56 android:paddingTop="2dp"
57 android:orientation="horizontal">
58
59 <TextView android:id="@android:id/text1"
60 android:layout_width="wrap_content"
61 android:layout_height="wrap_content"
62 android:textAppearance="?android:attr/textAppearanceListItemSecondary"
63 android:textColor="?android:attr/textColorSecondary" />
64
65 <Space
66 android:layout_width="0dp"
67 android:layout_height="wrap_content"
68 android:layout_weight="1" />
69
70 <TextView android:id="@android:id/text2"
71 android:layout_width="wrap_content"
72 android:layout_height="wrap_content"
73 android:textAppearance="?android:attr/textAppearanceListItemSecondary"
74 android:textColor="?android:attr/textColorSecondary" />
75
76 </LinearLayout>
77
78</LinearLayout>
79