Jeff Sharkey | 2597625 | 2015-06-15 21:08:56 -0700 | [diff] [blame] | 1 | <?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 Zhang | ac81f26 | 2016-12-21 17:06:38 +0000 | [diff] [blame] | 23 | android:paddingStart="@dimen/preference_no_icon_padding_start" |
Jeff Sharkey | 2597625 | 2015-06-15 21:08:56 -0700 | [diff] [blame] | 24 | android:paddingEnd="?android:attr/listPreferredItemPaddingEnd" |
| 25 | android:paddingTop="16dip" |
| 26 | android:paddingBottom="16dip" |
| 27 | android:background="?android:attr/selectableItemBackground"> |
| 28 | |
| 29 | <TextView |
Adam Lesinski | 701af87 | 2016-08-16 15:59:14 -0700 | [diff] [blame] | 30 | android:id="@android:id/title" |
Jeff Sharkey | 2597625 | 2015-06-15 21:08:56 -0700 | [diff] [blame] | 31 | android:layout_width="wrap_content" |
| 32 | android:layout_height="wrap_content" |
Andrew Sapperstein | dd19c3c | 2017-06-05 18:48:10 -0700 | [diff] [blame] | 33 | android:ellipsize="marquee" |
| 34 | android:fadingEdge="horizontal" |
| 35 | android:fontFamily="@*android:string/config_headlineFontFamily" |
Jeff Sharkey | 2597625 | 2015-06-15 21:08:56 -0700 | [diff] [blame] | 36 | android:singleLine="true" |
| 37 | android:textAlignment="viewStart" |
Amin Shaikh | a5e8bdd | 2018-12-19 14:42:59 -0500 | [diff] [blame] | 38 | android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Subhead" |
Doris Ling | 05af648 | 2016-06-27 14:23:17 -0700 | [diff] [blame] | 39 | android:textColor="?android:attr/colorAccent" |
Andrew Sapperstein | dd19c3c | 2017-06-05 18:48:10 -0700 | [diff] [blame] | 40 | android:textSize="36sp"/> |
Jeff Sharkey | 2597625 | 2015-06-15 21:08:56 -0700 | [diff] [blame] | 41 | |
| 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 Shaikh | a5e8bdd | 2018-12-19 14:42:59 -0500 | [diff] [blame] | 47 | android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Body1" |
Jeff Sharkey | 2597625 | 2015-06-15 21:08:56 -0700 | [diff] [blame] | 48 | 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> |