1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2015 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<LinearLayout 17 xmlns:android="http://schemas.android.com/apk/res/android" 18 android:layout_width="match_parent" 19 android:layout_height="wrap_content" 20 android:orientation="vertical" 21 style="@style/RootLayoutPadding"> 22 23 <ScrollView 24 android:layout_width="match_parent" 25 android:layout_height="match_parent" 26 android:id="@+id/scrollView"> 27 28 <LinearLayout 29 android:layout_width="match_parent" 30 android:layout_height="wrap_content" 31 android:orientation="vertical"> 32 33 <TextView 34 android:layout_width="match_parent" 35 android:layout_height="wrap_content" 36 android:scrollbars="vertical" 37 android:gravity="bottom" 38 android:id="@+id/info_text" 39 android:text="@string/audio_frequency_speaker_instructions"/> 40 41 <LinearLayout 42 android:layout_width="match_parent" 43 android:layout_height="wrap_content" 44 android:orientation="vertical"> 45 <Button 46 android:layout_width="match_parent" 47 android:layout_height="wrap_content" 48 android:id="@+id/audio_frequency_speaker_mic_ready_btn" 49 android:text="@string/audio_frequency_speaker_mic_ready_btn" 50 android:nextFocusForward="@+id/audio_frequency_speaker_test_btn" 51 android:nextFocusDown="@+id/audio_frequency_speaker_test_btn" 52 android:nextFocusRight="@+id/audio_frequency_speaker_test_btn" /> 53 54 <TextView 55 android:layout_width="wrap_content" 56 android:layout_height="wrap_content" 57 android:text="@string/audio_frequency_speaker_usb_status" 58 android:id="@+id/audio_frequency_speaker_usb_status"/> 59 60 <LinearLayout 61 android:orientation="vertical" 62 android:layout_width="match_parent" 63 android:layout_height="match_parent"> 64 65 <LinearLayout 66 android:layout_width="wrap_content" 67 android:layout_height="wrap_content" 68 android:orientation="horizontal" 69 android:id="@+id/audio_frequency_speaker_layout"> 70 <Button 71 android:layout_width="wrap_content" 72 android:layout_height="wrap_content" 73 android:text="@string/audio_frequency_speaker_test_btn" 74 android:id="@+id/audio_frequency_speaker_test_btn" 75 android:nextFocusForward="@+id/pass_button" 76 android:nextFocusUp="@+id/audio_frequency_speaker_mic_ready_btn" 77 android:nextFocusDown="@+id/pass_button" 78 android:nextFocusLeft="@+id/audio_frequency_speaker_mic_ready_btn" 79 android:nextFocusRight="@+id/pass_button" /> 80 81 <ProgressBar 82 android:layout_width="wrap_content" 83 android:layout_height="wrap_content" 84 android:id="@+id/audio_frequency_speaker_progress_bar"/> 85 </LinearLayout> 86 87 <TextView 88 android:layout_width="wrap_content" 89 android:layout_height="wrap_content" 90 android:text="@string/audio_frequency_speaker_results_text" 91 android:id="@+id/audio_frequency_speaker_results_text"/> 92 93 </LinearLayout> 94 </LinearLayout> 95 96 <include layout="@layout/pass_fail_buttons"/> 97 </LinearLayout> 98 </ScrollView> 99 100</LinearLayout> 101