Home | History | Annotate | Download | only in layout
      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:padding="10dip"
     21     android:orientation="vertical">
     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         <LinearLayout
     34                     android:layout_width="wrap_content"
     35                     android:layout_height="wrap_content"
     36                     android:orientation="horizontal">
     37           <TextView
     38               android:layout_width="wrap_content"
     39               android:layout_height="wrap_content"
     40               android:layout_weight="1"
     41               android:id="@+id/info_text"
     42               android:text="@string/audio_frequency_mic_instructions"/>
     43 
     44            <ProgressBar
     45                         android:layout_width="wrap_content"
     46                         android:layout_height="wrap_content"
     47                         android:layout_weight="1"
     48                         android:id="@+id/audio_frequency_mic_progress_bar"/>
     49          </LinearLayout>
     50 
     51           <Button
     52               android:layout_width="match_parent"
     53               android:layout_height="wrap_content"
     54               android:id="@+id/audio_frequency_mic_speakers_ready_btn"
     55               android:text="@string/audio_frequency_mic_speakers_ready_btn"/>
     56 
     57           <TextView
     58                 android:layout_width="match_parent"
     59                 android:layout_height="wrap_content"
     60                 android:scrollbars="vertical"
     61                 android:gravity="bottom"
     62                 android:id="@+id/audio_frequency_mic_speakers_ready_status"
     63                 android:text="@string/audio_frequency_mic_speakers_ready_status"/>
     64 
     65             <LinearLayout
     66                 android:layout_width="wrap_content"
     67                 android:layout_height="wrap_content"
     68                 android:orientation="vertical"
     69                 android:id="@+id/audio_frequency_mic_layout_test1">
     70 
     71             <TextView
     72                 android:layout_width="wrap_content"
     73                 android:layout_height="wrap_content"
     74                 android:text="@string/audio_frequency_mic_instructions2"
     75                 android:id="@+id/audio_frequency_mic_instructions2"/>
     76 
     77               <Button
     78                     android:layout_width="wrap_content"
     79                     android:layout_height="wrap_content"
     80                     android:text="@string/audio_frequency_mic_test1_btn"
     81                     android:id="@+id/audio_frequency_mic_test1_btn"/>
     82 
     83                 <TextView
     84                     android:layout_width="wrap_content"
     85                     android:layout_height="wrap_content"
     86                     android:text="@string/audio_frequency_mic_results_text"
     87                     android:id="@+id/audio_frequency_mic_results1_text"/>
     88           </LinearLayout>
     89 
     90           <LinearLayout
     91                 android:layout_width="match_parent"
     92                 android:layout_height="wrap_content"
     93                 android:orientation="vertical"
     94                 android:id="@+id/audio_frequency_mic_layout_test2a">
     95 
     96             <Button
     97                 android:layout_width="match_parent"
     98                 android:layout_height="wrap_content"
     99                 android:id="@+id/audio_frequency_mic_mic_ready_btn"
    100                 android:text="@string/audio_frequency_mic_mic_ready_btn"/>
    101 
    102             <TextView
    103                 android:layout_width="wrap_content"
    104                 android:layout_height="wrap_content"
    105                 android:text="@string/audio_frequency_mic_usb_status"
    106                 android:id="@+id/audio_frequency_mic_usb_status"/>
    107            </LinearLayout>
    108 
    109           <LinearLayout
    110               android:orientation="vertical"
    111               android:layout_width="match_parent"
    112               android:layout_height="match_parent"
    113               android:id="@+id/audio_frequency_mic_layout_test2b">
    114 
    115             <Button
    116                 android:layout_width="wrap_content"
    117                 android:layout_height="wrap_content"
    118                 android:text="@string/audio_frequency_mic_test2_btn"
    119                 android:id="@+id/audio_frequency_mic_test2_btn"/>
    120 
    121               <TextView
    122                   android:layout_width="wrap_content"
    123                   android:layout_height="wrap_content"
    124                   android:text="@string/audio_frequency_mic_results_text"
    125                   android:id="@+id/audio_frequency_mic_results_text"/>
    126 
    127         </LinearLayout>
    128 
    129         <include layout="@layout/pass_fail_buttons"/>
    130         </LinearLayout>
    131       </ScrollView>
    132 
    133 </LinearLayout>