Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2009 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 
     17 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
     18     android:layout_width="fill_parent"
     19     android:layout_height="fill_parent"
     20     android:orientation="vertical">
     21             
     22     <LinearLayout
     23         android:layout_width="fill_parent"
     24         android:layout_height="wrap_content"
     25         android:orientation="vertical">
     26 
     27         <LinearLayout android:id="@+id/playPause1Frame"
     28             android:orientation="horizontal"
     29             android:layout_width="fill_parent"
     30             android:layout_height="wrap_content"
     31             android:layout_marginLeft="10dip"
     32             android:layout_marginTop="3dip"
     33             android:layout_marginRight="10dip"
     34             android:layout_marginBottom="3dip" >
     35 
     36             <TextView android:id="@+id/playPause1Text"
     37                 android:layout_width="fill_parent"
     38                 android:layout_height="fill_parent"
     39                 android:layout_weight="1.0"
     40                 android:text="@string/playback_name"
     41                 android:layout_gravity="center_vertical|left"
     42                 style="@android:style/TextAppearance.Medium" />
     43 
     44             <ImageButton android:id="@+id/stop1"
     45                 android:layout_width="wrap_content"
     46                 android:layout_height="fill_parent"
     47                 android:layout_gravity="center_vertical|right"
     48                 android:layout_weight="0.0"
     49                 android:src="@drawable/stop"/>
     50 
     51              <ImageButton android:id="@+id/playPause1"
     52                 android:layout_width="wrap_content"
     53                 android:layout_height="fill_parent"
     54                 android:layout_gravity="center_vertical|right"
     55                 android:layout_weight="0.0"
     56                 android:src="@android:drawable/ic_media_play"/>
     57 
     58         </LinearLayout>
     59 
     60     </LinearLayout>
     61 
     62     <LinearLayout
     63         android:layout_width="fill_parent"
     64         android:layout_height="wrap_content"
     65         android:orientation="vertical">
     66 
     67         <LinearLayout android:id="@+id/record1Frame"
     68             android:orientation="horizontal"
     69             android:layout_width="fill_parent"
     70             android:layout_height="wrap_content"
     71             android:layout_marginLeft="10dip"
     72             android:layout_marginTop="3dip"
     73             android:layout_marginRight="10dip"
     74             android:layout_marginBottom="3dip" >
     75 
     76             <TextView android:id="@+id/record1Text"
     77                 android:layout_width="fill_parent"
     78                 android:layout_height="fill_parent"
     79                 android:layout_weight="1.0"
     80                 android:text="@string/record_name"
     81                 android:layout_gravity="center_vertical|left"
     82                 style="@android:style/TextAppearance.Medium" />
     83 
     84             <ImageButton android:id="@+id/recStop1"
     85                 android:layout_width="wrap_content"
     86                 android:layout_height="fill_parent"
     87                 android:layout_gravity="center_vertical|right"
     88                 android:layout_weight="0.0"
     89                 android:src="@drawable/record"/>
     90         </LinearLayout>
     91 
     92     </LinearLayout>
     93         
     94     <LinearLayout
     95         android:layout_width="fill_parent"
     96         android:layout_height="wrap_content"
     97         android:orientation="vertical">
     98     
     99         <LinearLayout android:id="@+id/forceFrame"
    100             android:orientation="horizontal"
    101             android:layout_width="fill_parent"
    102             android:layout_height="wrap_content"
    103             android:layout_marginLeft="10dip"
    104             android:layout_marginTop="3dip"
    105             android:layout_marginRight="10dip"
    106             android:layout_marginBottom="3dip" >
    107                        
    108             <ToggleButton android:id="@+id/ForceScoButton"
    109                     android:layout_width="wrap_content"
    110                     android:layout_height="fill_parent"
    111                     android:layout_gravity="center_vertical|left"
    112                     android:layout_weight="0.0"
    113                     android:textOff="@string/force_sco_off"
    114                     android:textOn="@string/force_sco_on" />
    115                      
    116             <TextView android:id="@+id/scoStateTxt"
    117                     android:layout_width="fill_parent"
    118                     android:layout_height="fill_parent"
    119                     android:layout_weight="1.0"
    120                     android:layout_gravity="center_vertical|right"
    121                     style="@android:style/TextAppearance.Medium" />
    122         </LinearLayout>
    123         <CheckBox
    124             android:id="@+id/useSecondAudioManager"
    125             android:layout_width="fill_parent"
    126             android:layout_height="wrap_content"
    127             android:text="@string/audiomanagertwo" />
    128         <CheckBox
    129             android:id="@+id/useVirtualCallCheckBox"
    130             android:layout_width="fill_parent"
    131             android:layout_height="wrap_content"
    132             android:text="@string/useVirtualCallCheckText" />
    133             
    134     </LinearLayout>
    135 
    136     <LinearLayout
    137         android:layout_width="fill_parent"
    138         android:layout_height="wrap_content"
    139         android:orientation="vertical">
    140 
    141         <LinearLayout android:id="@+id/voiceDialerFrame"
    142             android:orientation="horizontal"
    143               android:layout_width="fill_parent"
    144               android:layout_height="wrap_content"
    145               android:layout_marginLeft="10dip"
    146               android:layout_marginTop="3dip"
    147               android:layout_marginRight="10dip"
    148               android:layout_marginBottom="3dip" >
    149                        
    150                <ToggleButton android:id="@+id/VoiceDialerButton"
    151                      android:layout_width="wrap_content"
    152                      android:layout_height="fill_parent"
    153                      android:layout_gravity="center_vertical|left"
    154                      android:layout_weight="0.0"
    155                      android:textOff="@string/vd_off"
    156                      android:textOn="@string/vd_on" />
    157                      
    158               <TextView android:id="@+id/vdStateTxt"
    159                       android:layout_width="fill_parent"
    160                       android:layout_height="fill_parent"
    161                       android:layout_weight="1.0"
    162                       android:layout_gravity="center_vertical|right"
    163                       style="@android:style/TextAppearance.Medium" />
    164                      
    165         </LinearLayout>
    166 
    167     </LinearLayout>
    168 
    169     <EditText android:id="@+id/speakTextEdit"
    170         android:layout_width="fill_parent"
    171         android:layout_height="wrap_content" />
    172         
    173     <ToggleButton android:id="@+id/TtsToFileButton"
    174        android:layout_width="wrap_content"
    175        android:layout_height="wrap_content"
    176        android:textOff="@string/tts_speak"
    177        android:textOn="@string/tts_to_file" />
    178         
    179         
    180   <Spinner android:id="@+id/modeSpinner"
    181               android:layout_width="fill_parent"
    182               android:layout_height="wrap_content"
    183               android:drawSelectorOnTop="true"
    184    />
    185         
    186 </LinearLayout>
    187