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 
     24     <ScrollView
     25         android:layout_width="match_parent"
     26         android:layout_height="match_parent"
     27         android:id="@+id/scrollView"
     28     >
     29 
     30         <LinearLayout
     31             android:layout_width="match_parent"
     32             android:layout_height="wrap_content"
     33             android:orientation="vertical"
     34         >
     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/audio_general_headset_port_exists"
     42                 android:text="@string/audio_general_headset_port_exists" />
     43 
     44             <LinearLayout
     45                 android:layout_width="match_parent"
     46                 android:layout_height="wrap_content"
     47                 android:orientation="horizontal"
     48             >
     49 
     50                 <Button
     51                     android:layout_width="wrap_content"
     52                     android:layout_height="wrap_content"
     53                     android:id="@+id/audio_general_headset_no"
     54                     android:text="@string/audio_general_headset_no"
     55                     android:nextFocusForward="@+id/audio_general_headset_yes"
     56                     android:nextFocusDown="@+id/audio_loopback_plug_ready_btn"
     57                     android:nextFocusRight="@+id/audio_general_headset_yes" />
     58 
     59                 <Button
     60                     android:layout_width="wrap_content"
     61                     android:layout_height="wrap_content"
     62                     android:id="@+id/audio_general_headset_yes"
     63                     android:text="@string/audio_general_headset_yes"
     64                     android:nextFocusForward="@+id/audio_loopback_plug_ready_btn"
     65                     android:nextFocusDown="@+id/audio_loopback_plug_ready_btn"
     66                     android:nextFocusLeft="@+id/audio_general_headset_no"
     67                     android:nextFocusRight="@+id/audio_loopback_plug_ready_btn" />
     68 
     69             </LinearLayout>
     70 
     71             <LinearLayout
     72                 android:layout_width="wrap_content"
     73                 android:layout_height="wrap_content"
     74                 android:orientation="vertical"
     75                 android:id="@+id/audio_loopback_headset_port"
     76             >
     77 
     78                 <TextView
     79                     android:layout_width="match_parent"
     80                     android:layout_height="wrap_content"
     81                     android:scrollbars="vertical"
     82                     android:gravity="bottom"
     83                     android:id="@+id/info_text"
     84                     android:text="@string/audio_loopback_instructions" />
     85 
     86                 <Button
     87                     android:layout_width="match_parent"
     88                     android:layout_height="wrap_content"
     89                     android:id="@+id/audio_loopback_plug_ready_btn"
     90                     android:text="@string/audio_loopback_plug_ready_btn"
     91                     android:nextFocusForward="@+id/audio_loopback_level_seekbar"
     92                     android:nextFocusUp="@+id/audio_general_headset_yes"
     93                     android:nextFocusDown="@+id/audio_loopback_level_seekbar"
     94                     android:nextFocusLeft="@+id/audio_general_headset_yes"
     95                     android:nextFocusRight="@+id/audio_loopback_level_seekbar" />
     96 
     97                 <LinearLayout
     98                     android:orientation="vertical"
     99                     android:layout_width="match_parent"
    100                     android:layout_height="match_parent"
    101                     android:id="@+id/audio_loopback_layout"
    102                 >
    103 
    104                     <TextView
    105                         android:layout_width="wrap_content"
    106                         android:layout_height="wrap_content"
    107                         android:text="@string/audio_loopback_instructions2"
    108                         android:id="@+id/audio_loopback_instructions2" />
    109 
    110                     <SeekBar
    111                         android:layout_width="match_parent"
    112                         android:layout_height="wrap_content"
    113                         android:id="@+id/audio_loopback_level_seekbar"
    114                         android:nextFocusForward="@+id/audio_loopback_test_btn"
    115                         android:nextFocusUp="@+id/audio_loopback_plug_ready_btn"
    116                         android:nextFocusDown="@+id/audio_loopback_test_btn"
    117                         android:nextFocusLeft="@+id/audio_loopback_plug_ready_btn"
    118                         android:nextFocusRight="@+id/audio_loopback_test_btn" />
    119 
    120                     <TextView
    121                         android:layout_width="wrap_content"
    122                         android:layout_height="wrap_content"
    123                         android:text="@string/audio_loopback_level_text"
    124                         android:id="@+id/audio_loopback_level_text" />
    125 
    126                     <Button
    127                         android:layout_width="wrap_content"
    128                         android:layout_height="wrap_content"
    129                         android:text="@string/audio_loopback_test_btn"
    130                         android:id="@+id/audio_loopback_test_btn"
    131                         android:nextFocusForward="@+id/pass_button"
    132                         android:nextFocusUp="@+id/audio_loopback_level_seekbar"
    133                         android:nextFocusDown="@+id/pass_button"
    134                         android:nextFocusLeft="@+id/audio_loopback_level_seekbar"
    135                         android:nextFocusRight="@+id/pass_button" />
    136 
    137                     <ProgressBar
    138                         android:layout_width="wrap_content"
    139                         android:layout_height="wrap_content"
    140                         android:id="@+id/audio_loopback_progress_bar" />
    141 
    142                     <TextView
    143                         android:layout_width="wrap_content"
    144                         android:layout_height="wrap_content"
    145                         android:text="@string/audio_loopback_results_text"
    146                         android:id="@+id/audio_loopback_results_text" />
    147                 </LinearLayout>
    148 
    149             </LinearLayout>
    150             <include layout="@layout/pass_fail_buttons" />
    151         </LinearLayout>
    152     </ScrollView>
    153 
    154 </LinearLayout>