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