1<?xml version="1.0" encoding="utf-8"?><!-- Copyright (C) 2011 The Android Open Source Project
2
3     Licensed under the Apache License, Version 2.0 (the "License");
4     you may not use this file except in compliance with the License.
5     You may obtain a copy of the License at
6
7          http://www.apache.org/licenses/LICENSE-2.0
8
9     Unless required by applicable law or agreed to in writing, software
10     distributed under the License is distributed on an "AS IS" BASIS,
11     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12     See the License for the specific language governing permissions and
13     limitations under the License.
14-->
15<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
16    android:fitsSystemWindows="true"
17    style="@style/RootLayoutPadding"
18    android:layout_width="match_parent"
19    android:layout_height="match_parent"
20    android:orientation="vertical">
21
22    <ProgressBar
23        android:id="@+id/bt_progress_bar"
24        style="@android:style/Widget.DeviceDefault.ProgressBar.Horizontal"
25        android:layout_width="match_parent"
26        android:layout_height="4dp"
27        android:indeterminate="true" />
28
29    <TextView
30        style="?android:attr/listSeparatorTextViewStyle"
31        android:layout_width="match_parent"
32        android:layout_height="wrap_content"
33        android:text="@string/bt_paired_devices" />
34
35    <FrameLayout
36        android:layout_width="match_parent"
37        android:layout_height="match_parent"
38        android:layout_weight="1.5"
39        android:orientation="vertical">
40        <ListView
41            android:id="@+id/bt_paired_devices"
42            android:layout_width="match_parent"
43            android:layout_height="match_parent" />
44        <TextView
45            android:id="@+id/bt_empty_paired_devices"
46            android:layout_width="match_parent"
47            android:layout_height="match_parent"
48            android:gravity="center"
49            android:text="@string/bt_no_devices"
50            android:visibility="gone" />
51    </FrameLayout>
52
53    <TextView
54        style="?android:attr/listSeparatorTextViewStyle"
55        android:layout_width="match_parent"
56        android:layout_height="wrap_content"
57        android:text="@string/bt_new_devices" />
58
59    <FrameLayout
60        android:layout_width="match_parent"
61        android:layout_height="match_parent"
62        android:layout_weight="1"
63        android:orientation="vertical">
64        <ListView
65            android:id="@+id/bt_new_devices"
66            android:layout_width="match_parent"
67            android:layout_height="match_parent" />
68        <TextView
69            android:id="@+id/bt_empty_new_devices"
70            android:layout_width="match_parent"
71            android:layout_height="match_parent"
72            android:gravity="center"
73            android:text="@string/bt_no_devices"
74            android:visibility="gone" />
75    </FrameLayout>
76
77    <Button
78        android:id="@+id/bt_scan_button"
79        android:layout_width="match_parent"
80        android:layout_height="wrap_content"
81        android:drawableTop="@android:drawable/ic_menu_search"
82        android:text="@string/bt_scan" />
83</LinearLayout>
84