blob: ce03b546a424f4c0137fe4886febb02d5cadd820 [file] [log] [blame]
Jeff Sharkey25976252015-06-15 21:08:56 -07001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2015 The Android Open Source Project
3
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 xmlns:android="http://schemas.android.com/apk/res/android"
18 android:layout_width="match_parent"
19 android:layout_height="wrap_content"
20 android:orientation="vertical"
21 android:minHeight="?android:attr/listPreferredItemHeightSmall"
22 android:gravity="center_vertical"
Fan Zhangac81f262016-12-21 17:06:38 +000023 android:paddingStart="@dimen/preference_no_icon_padding_start"
Jeff Sharkey25976252015-06-15 21:08:56 -070024 android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
25 android:paddingTop="16dip"
26 android:paddingBottom="16dip"
27 android:background="?android:attr/selectableItemBackground">
28
29 <TextView
Adam Lesinski701af872016-08-16 15:59:14 -070030 android:id="@android:id/title"
Jeff Sharkey25976252015-06-15 21:08:56 -070031 android:layout_width="wrap_content"
32 android:layout_height="wrap_content"
Andrew Sappersteindd19c3c2017-06-05 18:48:10 -070033 android:ellipsize="marquee"
34 android:fadingEdge="horizontal"
35 android:fontFamily="@*android:string/config_headlineFontFamily"
Jeff Sharkey25976252015-06-15 21:08:56 -070036 android:singleLine="true"
37 android:textAlignment="viewStart"
Amin Shaikha5e8bdd2018-12-19 14:42:59 -050038 android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Subhead"
Doris Ling05af6482016-06-27 14:23:17 -070039 android:textColor="?android:attr/colorAccent"
Andrew Sappersteindd19c3c2017-06-05 18:48:10 -070040 android:textSize="36sp"/>
Jeff Sharkey25976252015-06-15 21:08:56 -070041
42 <TextView
43 android:id="@android:id/summary"
44 android:layout_width="wrap_content"
45 android:layout_height="wrap_content"
46 android:textAlignment="viewStart"
Amin Shaikha5e8bdd2018-12-19 14:42:59 -050047 android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Body1"
Jeff Sharkey25976252015-06-15 21:08:56 -070048 android:maxLines="10" />
49
50 <ProgressBar
51 android:id="@android:id/progress"
52 android:layout_width="match_parent"
53 android:layout_height="8dp"
54 android:layout_marginTop="16dp"
55 android:layout_marginBottom="8dp"
56 android:visibility="gone"
57 android:max="100"
58 style="?android:attr/progressBarStyleHorizontal" />
59
60</LinearLayout>