1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2013 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<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 17 android:fitsSystemWindows="true" 18 android:layout_width="match_parent" 19 android:layout_height="match_parent" 20 android:orientation="vertical" 21 android:padding="10dip" 22 > 23 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" 24 android:layout_width="wrap_content" 25 android:layout_height="wrap_content"> 26 <LinearLayout android:orientation="vertical" 27 android:layout_width="match_parent" 28 android:layout_height="wrap_content"> 29 <TextView android:text="@string/ble_scanner_power_level_instruction" 30 android:layout_width="wrap_content" 31 android:layout_height="wrap_content" 32 android:id="@+id/ble_scanner_power_level_instruction" 33 /> 34 <HorizontalScrollView 35 android:layout_width="wrap_content" 36 android:layout_height="wrap_content"> 37 <LinearLayout android:orientation="vertical" 38 android:layout_width="match_parent" 39 android:layout_height="wrap_content" 40 android:layout_below="@+id/ble_scanner_power_level_instruction" 41 android:layout_centerInParent="true" 42 android:padding="10dp"> 43 <LinearLayout android:orientation="horizontal" 44 android:layout_width="match_parent" 45 android:layout_height="wrap_content" 46 android:layout_centerInParent="true"> 47 <TextView android:text="@string/ble_ultra_low" 48 android:layout_width="100dp" 49 android:layout_height="wrap_content"/> 50 <TextView android:id="@+id/ble_ultra_low_mac" 51 android:layout_width="200dp" 52 android:layout_height="wrap_content"/> 53 <TextView android:id="@+id/ble_ultra_low_rssi" 54 android:layout_width="100dp" 55 android:layout_height="wrap_content"/> 56 </LinearLayout> 57 <LinearLayout android:orientation="horizontal" 58 android:layout_width="match_parent" 59 android:layout_height="wrap_content"> 60 <TextView android:layout_width="100dp" 61 android:layout_height="wrap_content"/> 62 <TextView android:id="@+id/ble_ultra_low_count" 63 android:layout_width="100dp" 64 android:layout_height="wrap_content"/> 65 <TextView android:id="@+id/ble_ultra_low_set_power" 66 android:layout_width="100dp" 67 android:layout_height="wrap_content"/> 68 </LinearLayout> 69 <LinearLayout android:orientation="horizontal" 70 android:layout_width="match_parent" 71 android:layout_height="wrap_content" 72 android:layout_centerInParent="true"> 73 <TextView android:text="@string/ble_low" 74 android:layout_width="100dp" 75 android:layout_height="wrap_content"/> 76 <TextView android:id="@+id/ble_low_mac" 77 android:layout_width="200dp" 78 android:layout_height="wrap_content"/> 79 <TextView android:id="@+id/ble_low_rssi" 80 android:layout_width="100dp" 81 android:layout_height="wrap_content"/> 82 </LinearLayout> 83 <LinearLayout android:orientation="horizontal" 84 android:layout_width="match_parent" 85 android:layout_height="wrap_content"> 86 <TextView android:layout_width="100dp" 87 android:layout_height="wrap_content"/> 88 <TextView android:id="@+id/ble_low_count" 89 android:layout_width="100dp" 90 android:layout_height="wrap_content"/> 91 <TextView android:id="@+id/ble_low_set_power" 92 android:layout_width="100dp" 93 android:layout_height="wrap_content"/> 94 </LinearLayout> 95 <LinearLayout android:orientation="horizontal" 96 android:layout_width="match_parent" 97 android:layout_height="wrap_content" 98 android:layout_centerInParent="true"> 99 <TextView android:text="@string/ble_medium" 100 android:layout_width="100dp" 101 android:layout_height="wrap_content"/> 102 <TextView android:id="@+id/ble_medium_mac" 103 android:layout_width="200dp" 104 android:layout_height="wrap_content"/> 105 <TextView android:id="@+id/ble_medium_rssi" 106 android:layout_width="100dp" 107 android:layout_height="wrap_content"/> 108 </LinearLayout> 109 <LinearLayout android:orientation="horizontal" 110 android:layout_width="match_parent" 111 android:layout_height="wrap_content"> 112 <TextView android:layout_width="100dp" 113 android:layout_height="wrap_content"/> 114 <TextView android:id="@+id/ble_medium_count" 115 android:layout_width="100dp" 116 android:layout_height="wrap_content"/> 117 <TextView android:id="@+id/ble_medium_set_power" 118 android:layout_width="100dp" 119 android:layout_height="wrap_content"/> 120 </LinearLayout> 121 <LinearLayout android:orientation="horizontal" 122 android:layout_width="match_parent" 123 android:layout_height="wrap_content" 124 android:layout_centerInParent="true"> 125 <TextView android:text="@string/ble_high" 126 android:layout_width="100dp" 127 android:layout_height="wrap_content"/> 128 <TextView android:id="@+id/ble_high_mac" 129 android:layout_width="200dp" 130 android:layout_height="wrap_content"/> 131 <TextView android:id="@+id/ble_high_rssi" 132 android:layout_width="100dp" 133 android:layout_height="wrap_content"/> 134 </LinearLayout> 135 <LinearLayout android:orientation="horizontal" 136 android:layout_width="match_parent" 137 android:layout_height="wrap_content"> 138 <TextView android:layout_width="100dp" 139 android:layout_height="wrap_content"/> 140 <TextView android:id="@+id/ble_high_count" 141 android:layout_width="100dp" 142 android:layout_height="wrap_content"/> 143 <TextView android:id="@+id/ble_high_set_power" 144 android:layout_width="100dp" 145 android:layout_height="wrap_content"/> 146 </LinearLayout> 147 </LinearLayout> 148 </HorizontalScrollView> 149 <TextView android:id="@+id/ble_timer" 150 android:layout_width="fill_parent" 151 android:layout_height="wrap_content" /> 152 <include android:layout_width="match_parent" 153 android:layout_height="wrap_content" 154 android:layout_alignParentBottom="true" 155 layout="@layout/pass_fail_buttons"/> 156 </LinearLayout> 157 </ScrollView> 158</RelativeLayout> 159