1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2015 The Android Open Source Project Licensed under the 3 Apache License, Version 2.0 (the "License"); you may not use this file except 4 in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 5 Unless required by applicable law or agreed to in writing, software distributed 6 under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES 7 OR CONDITIONS OF ANY KIND, either express or implied. See the License for 8 the specific language governing permissions and limitations under the License. --> 9<LinearLayout 10 xmlns:android="http://schemas.android.com/apk/res/android" 11 android:layout_width="match_parent" 12 android:layout_height="wrap_content" 13 android:orientation="vertical" 14 style="@style/RootLayoutPadding"> 15 16 <ScrollView 17 android:layout_width="match_parent" 18 android:layout_height="match_parent" 19 android:id="@+id/scrollView"> 20 21 <LinearLayout 22 android:layout_width="match_parent" 23 android:layout_height="wrap_content" 24 android:orientation="vertical"> 25 26 <include layout="@layout/audio_refmic_layout"/> 27 28 <TextView 29 android:layout_width="match_parent" 30 android:layout_height="wrap_content" 31 android:scrollbars="vertical" 32 android:gravity="bottom" 33 android:id="@+id/audio_frequency_unprocessed_defined" /> 34 35 <LinearLayout 36 android:layout_width="match_parent" 37 android:layout_height="wrap_content" 38 android:orientation="vertical" 39 android:id="@+id/unprocessed_layout_test_tone" 40 > 41 42 <View 43 android:layout_width="match_parent" 44 android:layout_height="1dp" 45 android:background="?android:colorAccent" /> 46 47 <TextView 48 android:layout_width="wrap_content" 49 android:layout_height="wrap_content" 50 android:scrollbars="vertical" 51 android:gravity="bottom" 52 android:text="@string/unprocessed_test_tone_instructions" 53 android:id="@+id/unprocessed_test_tone_instructions" /> 54 55 <LinearLayout 56 android:layout_width="match_parent" 57 android:layout_height="wrap_content" 58 android:orientation="horizontal"> 59 60 <LinearLayout 61 android:layout_width="wrap_content" 62 android:layout_height="wrap_content" 63 android:orientation="vertical" 64 android:layout_weight="2"> 65 66 <Button 67 android:layout_width="wrap_content" 68 android:layout_height="wrap_content" 69 android:soundEffectsEnabled="false" 70 android:text="@string/unprocessed_test_tone_btn" 71 android:id="@+id/unprocessed_test_tone_btn" /> 72 <ProgressBar 73 android:layout_width="wrap_content" 74 android:layout_height="wrap_content" 75 android:layout_weight="1" 76 android:id="@+id/unprocessed_test_tone_progress_bar" /> 77 78 </LinearLayout> 79 80 <View 81 android:layout_width="1dp" 82 android:layout_height="match_parent" 83 android:background="?android:colorAccent" /> 84 85 <LinearLayout 86 android:layout_width="0dp" 87 android:layout_height="wrap_content" 88 android:orientation="vertical" 89 android:layout_weight="1"> 90 <Button 91 android:layout_width="wrap_content" 92 android:layout_height="wrap_content" 93 android:soundEffectsEnabled="false" 94 android:text="@string/unprocessed_play" 95 android:id="@+id/unprocessed_play_tone_btn" /> 96 </LinearLayout> 97 </LinearLayout> 98 <TextView 99 android:layout_width="match_parent" 100 android:layout_height="wrap_content" 101 android:text="@string/unprocessed_test_tone_result" 102 android:id="@+id/unprocessed_test_tone_result" /> 103 </LinearLayout> 104 105 <LinearLayout 106 android:layout_width="match_parent" 107 android:layout_height="wrap_content" 108 android:orientation="vertical" 109 android:id="@+id/unprocessed_layout_test_noise"> 110 111 <View 112 android:layout_width="match_parent" 113 android:layout_height="1dp" 114 android:background="?android:colorAccent" /> 115 116 <TextView 117 android:layout_width="wrap_content" 118 android:layout_height="wrap_content" 119 android:scrollbars="vertical" 120 android:gravity="bottom" 121 android:text="@string/unprocessed_test_noise_instructions" 122 android:id="@+id/unprocessed_test_noise_instructions" /> 123 124 <LinearLayout 125 android:layout_width="match_parent" 126 android:layout_height="wrap_content" 127 android:orientation="horizontal"> 128 129 <LinearLayout 130 android:layout_width="wrap_content" 131 android:layout_height="wrap_content" 132 android:orientation="vertical" 133 android:layout_weight="2"> 134 135 <Button 136 android:layout_width="wrap_content" 137 android:layout_height="wrap_content" 138 android:soundEffectsEnabled="false" 139 android:text="@string/unprocessed_test_noise_btn" 140 android:id="@+id/unprocessed_test_noise_btn" /> 141 <ProgressBar 142 android:layout_width="wrap_content" 143 android:layout_height="wrap_content" 144 android:layout_weight="1" 145 android:id="@+id/unprocessed_test_noise_progress_bar" /> 146 </LinearLayout> 147 148 <View 149 android:layout_width="1dp" 150 android:layout_height="match_parent" 151 android:background="?android:colorAccent" /> 152 153 <LinearLayout 154 android:layout_width="0dp" 155 android:layout_height="wrap_content" 156 android:orientation="vertical" 157 android:layout_weight="1"> 158 <Button 159 android:layout_width="wrap_content" 160 android:layout_height="wrap_content" 161 android:soundEffectsEnabled="false" 162 android:text="@string/unprocessed_play" 163 android:id="@+id/unprocessed_play_noise_btn" /> 164 </LinearLayout> 165 </LinearLayout> 166 <TextView 167 android:layout_width="match_parent" 168 android:layout_height="wrap_content" 169 android:text="@string/unprocessed_test_noise_result" 170 android:id="@+id/unprocessed_test_noise_result" /> 171 </LinearLayout> 172 173 <LinearLayout 174 android:layout_width="match_parent" 175 android:layout_height="wrap_content" 176 android:orientation="vertical" 177 android:id="@+id/unprocessed_layout_test_usb_background"> 178 179 <View 180 android:layout_width="match_parent" 181 android:layout_height="1dp" 182 android:background="?android:colorAccent" /> 183 184 <TextView 185 android:layout_width="wrap_content" 186 android:layout_height="wrap_content" 187 android:scrollbars="vertical" 188 android:gravity="bottom" 189 android:text="@string/unprocessed_test_usb_background_instructions" 190 android:id="@+id/unprocessed_test_usb_background_instructions" /> 191 192 <LinearLayout 193 android:layout_width="match_parent" 194 android:layout_height="wrap_content" 195 android:orientation="horizontal"> 196 197 <LinearLayout 198 android:layout_width="wrap_content" 199 android:layout_height="wrap_content" 200 android:orientation="vertical" 201 android:layout_weight="2"> 202 203 <Button 204 android:layout_width="wrap_content" 205 android:layout_height="wrap_content" 206 android:soundEffectsEnabled="false" 207 android:text="@string/unprocessed_test_usb_background_btn" 208 android:id="@+id/unprocessed_test_usb_background_btn" /> 209 <ProgressBar 210 android:layout_width="wrap_content" 211 android:layout_height="wrap_content" 212 android:layout_weight="1" 213 android:id="@+id/unprocessed_test_usb_background_progress_bar" /> 214 </LinearLayout> 215 </LinearLayout> 216 <TextView 217 android:layout_width="match_parent" 218 android:layout_height="wrap_content" 219 android:text="@string/unprocessed_test_usb_background_result" 220 android:id="@+id/unprocessed_test_usb_background_result" /> 221 </LinearLayout> 222 223 <LinearLayout 224 android:layout_width="match_parent" 225 android:layout_height="wrap_content" 226 android:orientation="vertical" 227 android:id="@+id/unprocessed_layout_test_usb_noise"> 228 229 <View 230 android:layout_width="match_parent" 231 android:layout_height="1dp" 232 android:background="?android:colorAccent" /> 233 234 <TextView 235 android:layout_width="wrap_content" 236 android:layout_height="wrap_content" 237 android:scrollbars="vertical" 238 android:gravity="bottom" 239 android:text="@string/unprocessed_test_usb_noise_instructions" 240 android:id="@+id/unprocessed_test_usb_noise_instructions" /> 241 242 <LinearLayout 243 android:layout_width="match_parent" 244 android:layout_height="wrap_content" 245 android:orientation="horizontal"> 246 247 <LinearLayout 248 android:layout_width="wrap_content" 249 android:layout_height="wrap_content" 250 android:orientation="vertical" 251 android:layout_weight="2"> 252 253 <Button 254 android:layout_width="wrap_content" 255 android:layout_height="wrap_content" 256 android:soundEffectsEnabled="false" 257 android:text="@string/unprocessed_test_usb_noise_btn" 258 android:id="@+id/unprocessed_test_usb_noise_btn" /> 259 <ProgressBar 260 android:layout_width="wrap_content" 261 android:layout_height="wrap_content" 262 android:layout_weight="1" 263 android:id="@+id/unprocessed_test_usb_noise_progress_bar" /> 264 </LinearLayout> 265 266 <View 267 android:layout_width="1dp" 268 android:layout_height="match_parent" 269 android:background="?android:colorAccent" /> 270 271 <LinearLayout 272 android:layout_width="0dp" 273 android:layout_height="wrap_content" 274 android:orientation="vertical" 275 android:layout_weight="1"> 276 <Button 277 android:layout_width="wrap_content" 278 android:layout_height="wrap_content" 279 android:soundEffectsEnabled="false" 280 android:text="@string/unprocessed_play" 281 android:id="@+id/unprocessed_play_usb_noise_btn" /> 282 </LinearLayout> 283 </LinearLayout> 284 <TextView 285 android:layout_width="match_parent" 286 android:layout_height="wrap_content" 287 android:text="@string/unprocessed_test_usb_noise_result" 288 android:id="@+id/unprocessed_test_usb_noise_result" /> 289 </LinearLayout> 290 <View 291 android:layout_width="match_parent" 292 android:layout_height="1dp" 293 android:background="?android:colorAccent" /> 294 295 <TextView 296 android:layout_width="match_parent" 297 android:layout_height="wrap_content" 298 android:text="@string/unprocessed_test_global_result" 299 android:id="@+id/unprocessed_test_global_result" /> 300 301 <include layout="@layout/pass_fail_buttons" /> 302 </LinearLayout> 303 </ScrollView> 304 305</LinearLayout> 306