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    <ScrollView
30        android:layout_width="match_parent"
31        android:layout_height="match_parent">
32        <LinearLayout
33            android:layout_width="match_parent"
34            android:layout_height="match_parent"
35            android:orientation="vertical">
36
37            <TextView
38                style="?android:attr/listSeparatorTextViewStyle"
39                android:layout_width="match_parent"
40                android:layout_height="wrap_content"
41                android:text="@string/bt_sent_messages" />
42            <FrameLayout
43                android:layout_width="match_parent"
44                android:layout_height="match_parent"
45                android:layout_weight="1"
46                android:orientation="vertical">
47                <ListView
48                    android:id="@+id/bt_sent_messages"
49                    android:layout_width="match_parent"
50                    android:layout_height="match_parent" />
51                <TextView
52                    android:id="@+id/bt_empty_sent_messages"
53                    android:layout_width="match_parent"
54                    android:layout_height="match_parent"
55                    android:gravity="center"
56                    android:visibility="gone" />
57            </FrameLayout>
58
59            <TextView
60                style="?android:attr/listSeparatorTextViewStyle"
61                android:layout_width="match_parent"
62                android:layout_height="wrap_content"
63                android:text="@string/bt_received_messages" />
64            <FrameLayout
65                android:layout_width="match_parent"
66                android:layout_height="match_parent"
67                android:layout_weight="1"
68                android:orientation="vertical">
69                <ListView
70                    android:id="@+id/bt_received_messages"
71                    android:layout_width="match_parent"
72                    android:layout_height="match_parent" />
73                <TextView
74                    android:id="@+id/bt_empty_received_messages"
75                    android:layout_width="match_parent"
76                    android:layout_height="match_parent"
77                    android:gravity="center"
78                    android:visibility="gone" />
79            </FrameLayout>
80
81            <Button
82                android:id="@+id/bt_make_discoverable_button"
83                android:layout_width="match_parent"
84                android:layout_height="wrap_content"
85                android:drawableTop="@android:drawable/ic_menu_mylocation"
86                android:text="@string/bt_make_discoverable" />
87
88            <include layout="@layout/pass_fail_buttons" />
89        </LinearLayout>
90    </ScrollView>
91</LinearLayout>
92