OSDN Git Service

am 0d5ad3b7: am 57641a8b: am d7e93570: am f11f9f47: Added a check if a custom activit...
[android-x86/packages-apps-Settings.git] / res / layout / preference_progress_category.xml
1 <?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
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 <!-- Layout used for ProgressCategory in bluetooth settings. -->
18 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
19     style="?android:attr/listSeparatorTextViewStyle"
20     android:background="@null"
21     android:gravity="center_vertical"
22     android:orientation="horizontal"
23     android:layout_height="wrap_content"
24     android:paddingStart="?android:attr/listPreferredItemPaddingStart"
25     android:paddingEnd="?android:attr/listPreferredItemPaddingEnd" >
26
27     <!-- This text view has the style of the list separator text view without the background and padding. -->
28     <TextView
29         android:textAppearance="@android:style/TextAppearance.Material.Body2"
30         android:textColor="?android:attr/colorAccent"
31         android:background="@null"
32         android:id="@+android:id/title"
33         android:paddingStart="0dp"
34         android:paddingTop="6dp"
35         android:layout_width="0dp"
36         android:layout_height="wrap_content"
37         android:layout_weight="1"
38         android:layout_gravity="start|center"
39     />
40
41     <ProgressBar
42         android:id="@+id/scanning_progress"
43         android:text="@string/progress_scanning"
44         android:paddingTop="6dp"
45         android:layout_width="wrap_content"
46         android:layout_height="wrap_content"
47         android:layout_gravity="center_vertical"
48         android:layout_marginStart="16dip"
49         style="?android:attr/progressBarStyleSmallTitle"
50         />
51
52 </LinearLayout>