Kane Ho | 401fbc8 | 2016-08-09 12:27:44 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?><!-- Copyright (C) 2011 The Android Open Source Project |
Brian Muramatsu | e891acb | 2011-05-19 16:02:39 -0700 | [diff] [blame] | 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" |
Kane Ho | 401fbc8 | 2016-08-09 12:27:44 -0700 | [diff] [blame] | 16 | style="@style/RootLayoutPadding" |
| 17 | android:layout_width="match_parent" |
| 18 | android:layout_height="match_parent" |
| 19 | android:orientation="vertical"> |
Michael Kwan | 681ed65 | 2014-10-01 16:03:05 -0700 | [diff] [blame] | 20 | |
Kane Ho | 401fbc8 | 2016-08-09 12:27:44 -0700 | [diff] [blame] | 21 | <ProgressBar |
| 22 | android:id="@+id/bt_progress_bar" |
Michael Kwan | 681ed65 | 2014-10-01 16:03:05 -0700 | [diff] [blame] | 23 | style="@android:style/Widget.DeviceDefault.ProgressBar.Horizontal" |
Kane Ho | 401fbc8 | 2016-08-09 12:27:44 -0700 | [diff] [blame] | 24 | android:layout_width="match_parent" |
| 25 | android:layout_height="4dp" |
| 26 | android:indeterminate="true" /> |
Michael Kwan | 681ed65 | 2014-10-01 16:03:05 -0700 | [diff] [blame] | 27 | |
Kane Ho | 401fbc8 | 2016-08-09 12:27:44 -0700 | [diff] [blame] | 28 | <ScrollView |
| 29 | android:layout_width="match_parent" |
| 30 | android:layout_height="match_parent"> |
| 31 | <LinearLayout |
Brian Muramatsu | e891acb | 2011-05-19 16:02:39 -0700 | [diff] [blame] | 32 | android:layout_width="match_parent" |
| 33 | android:layout_height="match_parent" |
Kane Ho | 401fbc8 | 2016-08-09 12:27:44 -0700 | [diff] [blame] | 34 | android:orientation="vertical"> |
Brian Muramatsu | e891acb | 2011-05-19 16:02:39 -0700 | [diff] [blame] | 35 | |
Kane Ho | 401fbc8 | 2016-08-09 12:27:44 -0700 | [diff] [blame] | 36 | <TextView |
| 37 | style="?android:attr/listSeparatorTextViewStyle" |
| 38 | android:layout_width="match_parent" |
| 39 | android:layout_height="wrap_content" |
| 40 | android:text="@string/bt_sent_messages" /> |
| 41 | <FrameLayout |
Brian Muramatsu | e891acb | 2011-05-19 16:02:39 -0700 | [diff] [blame] | 42 | android:layout_width="match_parent" |
| 43 | android:layout_height="match_parent" |
Kane Ho | 401fbc8 | 2016-08-09 12:27:44 -0700 | [diff] [blame] | 44 | android:layout_weight="1" |
| 45 | android:orientation="vertical"> |
| 46 | <ListView |
| 47 | android:id="@+id/bt_sent_messages" |
| 48 | android:layout_width="match_parent" |
| 49 | android:layout_height="match_parent" /> |
| 50 | <TextView |
| 51 | android:id="@+id/bt_empty_sent_messages" |
| 52 | android:layout_width="match_parent" |
| 53 | android:layout_height="match_parent" |
| 54 | android:gravity="center" |
| 55 | android:visibility="gone" /> |
| 56 | </FrameLayout> |
| 57 | |
| 58 | <TextView |
| 59 | style="?android:attr/listSeparatorTextViewStyle" |
| 60 | android:layout_width="match_parent" |
| 61 | android:layout_height="wrap_content" |
| 62 | android:text="@string/bt_received_messages" /> |
| 63 | <FrameLayout |
Brian Muramatsu | e891acb | 2011-05-19 16:02:39 -0700 | [diff] [blame] | 64 | android:layout_width="match_parent" |
| 65 | android:layout_height="match_parent" |
Kane Ho | 401fbc8 | 2016-08-09 12:27:44 -0700 | [diff] [blame] | 66 | android:layout_weight="1" |
| 67 | android:orientation="vertical"> |
| 68 | <ListView |
| 69 | android:id="@+id/bt_received_messages" |
| 70 | android:layout_width="match_parent" |
| 71 | android:layout_height="match_parent" /> |
| 72 | <TextView |
| 73 | android:id="@+id/bt_empty_received_messages" |
| 74 | android:layout_width="match_parent" |
| 75 | android:layout_height="match_parent" |
| 76 | android:gravity="center" |
| 77 | android:visibility="gone" /> |
| 78 | </FrameLayout> |
Brian Muramatsu | e891acb | 2011-05-19 16:02:39 -0700 | [diff] [blame] | 79 | |
Kane Ho | 401fbc8 | 2016-08-09 12:27:44 -0700 | [diff] [blame] | 80 | <Button |
| 81 | android:id="@+id/bt_make_discoverable_button" |
| 82 | android:layout_width="match_parent" |
| 83 | android:layout_height="wrap_content" |
| 84 | android:drawableTop="@android:drawable/ic_menu_mylocation" |
| 85 | android:text="@string/bt_make_discoverable" /> |
Brian Muramatsu | e891acb | 2011-05-19 16:02:39 -0700 | [diff] [blame] | 86 | |
Kane Ho | 401fbc8 | 2016-08-09 12:27:44 -0700 | [diff] [blame] | 87 | <include layout="@layout/pass_fail_buttons" /> |
| 88 | </LinearLayout> |
| 89 | </ScrollView> |
Brian Muramatsu | e891acb | 2011-05-19 16:02:39 -0700 | [diff] [blame] | 90 | </LinearLayout> |