blob: 91a0312f5e1284195e5244ed0edb16315fee3899 [file] [log] [blame]
The Android Open Source Projectafc4ab22009-03-03 19:32:34 -08001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2006 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
Amith Yamasani78019ea2010-11-22 14:21:09 -08007
The Android Open Source Projectafc4ab22009-03-03 19:32:34 -08008 http://www.apache.org/licenses/LICENSE-2.0
Amith Yamasani78019ea2010-11-22 14:21:09 -08009
The Android Open Source Projectafc4ab22009-03-03 19:32:34 -080010 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<!-- Layout used for ProgressCategory in bluetooth settings. -->
Amith Yamasani78019ea2010-11-22 14:21:09 -080018<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
Fan Zhangec407ff2016-12-19 11:14:59 -080019 android:layout_width="match_parent"
20 android:layout_height="wrap_content"
21 android:gravity="center_vertical"
22 android:orientation="horizontal"
Fan Zhangec407ff2016-12-19 11:14:59 -080023 android:paddingStart="?android:attr/listPreferredItemPaddingStart"
24 android:paddingTop="16dp"
jackqdyuleid5e20e12017-06-01 15:46:21 -070025 android:paddingBottom="16dp"
Fan Zhangec407ff2016-12-19 11:14:59 -080026 android:paddingEnd="?android:attr/listPreferredItemPaddingEnd">
27
28 <LinearLayout
29 android:id="@+id/icon_container"
Fan Zhang031c8382017-05-09 17:44:49 -070030 android:layout_width="56dp"
Fan Zhangec407ff2016-12-19 11:14:59 -080031 android:layout_height="wrap_content"
32 android:gravity="start|center_vertical"
33 android:orientation="horizontal">
34 <com.android.internal.widget.PreferenceImageView
35 android:id="@android:id/icon"
36 android:layout_width="wrap_content"
37 android:layout_height="wrap_content"
Fan Zhangec407ff2016-12-19 11:14:59 -080038 android:maxWidth="18dp"
39 android:maxHeight="18dp"/>
40 </LinearLayout>
The Android Open Source Projectafc4ab22009-03-03 19:32:34 -080041
Jake Hamby494f6462012-04-16 16:30:14 -070042 <!-- This text view has the style of the list separator text view without the background and padding. -->
Amith Yamasani78019ea2010-11-22 14:21:09 -080043 <TextView
Adam Lesinski701af872016-08-16 15:59:14 -070044 android:id="@android:id/title"
Amith Yamasani78019ea2010-11-22 14:21:09 -080045 android:layout_width="0dp"
The Android Open Source Projectafc4ab22009-03-03 19:32:34 -080046 android:layout_height="wrap_content"
Amith Yamasani78019ea2010-11-22 14:21:09 -080047 android:layout_weight="1"
Jeff Brown9e143f52012-09-19 20:46:07 -070048 android:layout_gravity="start|center"
Amin Shaikha5e8bdd2018-12-19 14:42:59 -050049 android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Body2"
Fan Zhang00d8ff52017-04-10 16:26:42 -070050 android:textColor="?android:attr/colorAccent"/>
Amith Yamasani78019ea2010-11-22 14:21:09 -080051
Amith Yamasani78019ea2010-11-22 14:21:09 -080052 <ProgressBar
53 android:id="@+id/scanning_progress"
Fan Zhangec407ff2016-12-19 11:14:59 -080054 style="?android:attr/progressBarStyleSmallTitle"
Amith Yamasani78019ea2010-11-22 14:21:09 -080055 android:layout_width="wrap_content"
56 android:layout_height="wrap_content"
57 android:layout_gravity="center_vertical"
Fabrice Di Meglio79d8e802012-07-19 19:25:50 -070058 android:layout_marginStart="16dip"
jackqdyuleid5e20e12017-06-01 15:46:21 -070059 android:minWidth="32dp"
Fan Zhangec407ff2016-12-19 11:14:59 -080060 android:text="@string/progress_scanning"/>
Amith Yamasani78019ea2010-11-22 14:21:09 -080061
62</LinearLayout>