OSDN Git Service

original
[gb-231r1-is01/Gingerbread_2.3.3_r1_IS01.git] / packages / apps / Settings / 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 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"      
19     style="?android:attr/listSeparatorTextViewStyle">
20
21     <!-- This and the other text view have the style of the list separator text view without the background and padding -->
22     <TextView 
23         style="?android:attr/listSeparatorTextViewStyle"
24         android:background="@null"
25         android:paddingLeft="0dip"
26         android:id="@+android:id/title"
27         android:layout_width="wrap_content"
28         android:layout_height="wrap_content"
29         android:layout_alignParentLeft="true"
30         android:layout_centerVertical="true"
31     />
32         
33     <ProgressBar
34         android:id="@+id/scanning_progress"
35         android:text="@string/progress_scanning"
36         android:layout_width="wrap_content"
37         android:layout_height="wrap_content"
38         android:layout_alignParentRight="true"
39         android:layout_centerVertical="true"
40         android:layout_marginRight="?android:attr/scrollbarSize"
41         style="?android:attr/progressBarStyleSmallTitle"
42         />
43         
44     <TextView 
45         style="?android:attr/listSeparatorTextViewStyle"
46         android:background="@null"
47         android:paddingLeft="0dip"
48         android:id="@+id/scanning_text"
49         android:layout_width="wrap_content"
50         android:layout_height="wrap_content"
51         android:layout_centerVertical="true"
52         android:layout_toLeftOf="@id/scanning_progress"
53         android:layout_marginRight="5sp"
54         android:text="@string/progress_scanning"
55         />
56         
57 </RelativeLayout>