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             
    129     </LinearLayout>
    130 
    131     <LinearLayout
    132         android:layout_width="fill_parent"
    133         android:layout_height="wrap_content"
    134         android:orientation="vertical">
    135 
    136         <LinearLayout android:id="@+id/voiceDialerFrame"
    137             android:orientation="horizontal"
    138               android:layout_width="fill_parent"
    139               android:layout_height="wrap_content"
    140               android:layout_marginLeft="10dip"
    141               android:layout_marginTop="3dip"
    142               android:layout_marginRight="10dip"
    143               android:layout_marginBottom="3dip" >
    144                        
    145                <ToggleButton android:id="@+id/VoiceDialerButton"
    146                      android:layout_width="wrap_content"
    147                      android:layout_height="fill_parent"
    148                      android:layout_gravity="center_vertical|left"
    149                      android:layout_weight="0.0"
    150                      android:textOff="@string/vd_off"
    151                      android:textOn="@string/vd_on" />
    152                      
    153               <TextView android:id="@+id/vdStateTxt"
    154                       android:layout_width="fill_parent"
    155                       android:layout_height="fill_parent"
    156                       android:layout_weight="1.0"
    157                       android:layout_gravity="center_vertical|right"
    158                       style="@android:style/TextAppearance.Medium" />
    159                      
    160         </LinearLayout>
    161 
    162     </LinearLayout>
    163 
    164     <EditText android:id="@+id/speakTextEdit"
    165         android:layout_width="fill_parent"
    166         android:layout_height="wrap_content" />
    167         
    168     <ToggleButton android:id="@+id/TtsToFileButton"
    169        android:layout_width="wrap_content"
    170        android:layout_height="wrap_content"
    171        android:textOff="@string/tts_speak"
    172        android:textOn="@string/tts_to_file" />
    173         
    174         
    175   <Spinner android:id="@+id/modeSpinner"
    176               android:layout_width="fill_parent"
    177               android:layout_height="wrap_content"
    178               android:drawSelectorOnTop="true"
    179    />
    180         
    181 </LinearLayout>
    182