OSDN Git Service

595629607b9beb17390b5aa46f45feb55c61a668
[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:gravity="center_vertical"
21     android:orientation="horizontal"
22     >
23
24     <!-- This and the other text view have the style of the list separator text view without the background and padding -->
25     <TextView
26         style="?android:attr/listSeparatorTextViewStyle"
27         android:background="@null"
28         android:paddingLeft="32dip"
29         android:id="@+android:id/title"
30         android:layout_width="0dp"
31         android:layout_height="wrap_content"
32         android:layout_weight="1"
33         android:layout_gravity="center_vertical"
34     />
35
36     <TextView
37         style="?android:attr/listSeparatorTextViewStyle"
38         android:background="@null"
39         android:paddingLeft="0dip"
40         android:id="@+id/scanning_text"
41         android:layout_width="wrap_content"
42         android:layout_height="wrap_content"
43         android:layout_gravity="center_vertical"
44         android:layout_marginRight="5sp"
45         android:text="@string/progress_scanning"
46         />
47
48     <ProgressBar
49         android:id="@+id/scanning_progress"
50         android:text="@string/progress_scanning"
51         android:layout_width="wrap_content"
52         android:layout_height="wrap_content"
53         android:layout_gravity="center_vertical"
54         android:layout_marginRight="16dip"
55         style="?android:attr/progressBarStyleSmallTitle"
56         />
57
58 </LinearLayout>