Home | History | Annotate | Download | only in layout-land
      1 <?xml version="1.0" encoding="UTF-8"?>
      2 
      3 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      4     android:layout_width="match_parent"
      5     android:layout_height="match_parent"
      6     android:orientation="vertical">
      7     
      8     <ImageView
      9          android:src="@android:drawable/divider_horizontal_dark"
     10          android:layout_width="match_parent"
     11          android:layout_height="wrap_content"
     12          android:scaleType="fitXY"/>
     13     
     14     <RelativeLayout android:id="@+id/timerViewLayout"
     15         android:layout_width="match_parent"
     16         android:layout_height="134dip"
     17         android:background="@drawable/gradient_bg">
     18 
     19         <TextView android:id="@+id/timerView"
     20             android:layout_width="wrap_content"
     21             android:layout_height="wrap_content"
     22             android:textSize="115dip"
     23             android:layout_alignParentRight="true"
     24             android:layout_marginTop="-4dip"
     25             android:layout_marginRight="10dip"
     26             style="@android:style/TextAppearance.Large" />
     27 
     28         <LinearLayout android:id="@+id/stateMessage2Layout"
     29             android:orientation="horizontal"
     30             android:layout_width="wrap_content"
     31             android:layout_height="wrap_content"
     32             android:layout_alignParentLeft="true"
     33             android:baselineAligned="false"
     34             android:layout_marginLeft="10dip"
     35             android:layout_marginTop="20dip">
     36             
     37             <ImageView android:id="@+id/stateLED"
     38                 android:layout_width="wrap_content"
     39                 android:layout_height="wrap_content"
     40                 android:layout_gravity="center_vertical" />
     41                 
     42             <TextView android:id="@+id/stateMessage2"
     43                 android:layout_width="150dip"
     44                 android:layout_height="wrap_content"
     45                 android:text="@string/recording"
     46                 android:layout_gravity="center_vertical" 
     47                 android:layout_marginLeft="5px"
     48                 style="@android:style/TextAppearance.Medium"/>
     49 
     50         </LinearLayout>
     51     
     52         <TextView android:id="@+id/stateMessage1"
     53             android:layout_width="wrap_content"
     54             android:layout_height="wrap_content"
     55             android:layout_below="@+id/stateMessage2Layout"
     56             android:layout_marginLeft="30dip"
     57             style="@android:style/TextAppearance.Small" />                
     58 
     59         <ProgressBar android:id="@+id/stateProgressBar"
     60             android:orientation="horizontal"
     61             android:layout_width="135dip"
     62             android:layout_height="wrap_content" 
     63             android:max="100"
     64             android:progress="0"
     65             android:layout_alignParentLeft="true"
     66             android:layout_marginLeft="10dip"
     67             android:layout_marginTop="20dip"
     68             style="?android:attr/progressBarStyleHorizontal" />
     69 
     70     </RelativeLayout>
     71     
     72     <ImageView
     73          android:src="@android:drawable/divider_horizontal_dark"
     74          android:layout_width="match_parent"
     75          android:layout_height="wrap_content"
     76          android:scaleType="fitXY"/>
     77 
     78     <FrameLayout
     79         android:layout_width="match_parent"
     80         android:layout_height="wrap_content"
     81         android:layout_weight="1">
     82 
     83             <LinearLayout android:id="@+id/exitButtons"
     84                 android:orientation="horizontal"
     85                 android:gravity="center_vertical"
     86                 android:layout_gravity="center_vertical"
     87                 android:layout_width="match_parent"
     88                 android:layout_height="wrap_content" 
     89                 android:layout_centerInParent="true" >
     90                 
     91                 <Button android:id="@+id/acceptButton"
     92                     android:layout_width="match_parent"
     93                     android:layout_height="wrap_content"
     94                     android:text="@string/accept"
     95                     android:layout_weight="1"
     96                     android:layout_marginRight="2dip" 
     97                     android:layout_marginLeft="50dip" />
     98         
     99                 <Button android:id="@+id/discardButton"
    100                     android:layout_width="match_parent"
    101                     android:layout_height="wrap_content"
    102                     android:text="@string/discard"
    103                     android:layout_weight="1"
    104                     android:layout_marginLeft="2dip" 
    105                     android:layout_marginRight="50dip" />
    106             
    107             </LinearLayout>
    108     
    109         <RelativeLayout
    110             android:layout_width="match_parent"
    111             android:layout_height="match_parent">
    112             
    113             <com.android.soundrecorder.VUMeter android:id="@+id/uvMeter"
    114                 android:layout_width="150px"
    115                 android:layout_height="60px"
    116                 android:layout_centerInParent="true" />
    117         </RelativeLayout>
    118 
    119     </FrameLayout>
    120     
    121     <ImageView
    122          android:src="@android:drawable/divider_horizontal_dark"
    123          android:layout_width="match_parent"
    124          android:layout_height="wrap_content"
    125          android:scaleType="fitXY"/>
    126 
    127                     
    128     <LinearLayout
    129         android:layout_width="match_parent"
    130         android:layout_height="60dip"
    131         android:background="@android:drawable/title_bar"
    132         android:gravity="center_horizontal"
    133         android:orientation="vertical">
    134 
    135         <LinearLayout
    136             android:layout_marginTop="4dip"
    137             android:layout_marginBottom="4dip"
    138             android:orientation="horizontal"
    139             android:layout_width="wrap_content"
    140             android:layout_height="match_parent" >
    141 
    142             <ImageButton android:id="@+id/recordButton"
    143                 android:layout_height="match_parent" 
    144                 style="@android:style/MediaButton"
    145                 android:src="@drawable/record" />
    146     
    147             <ImageButton android:id="@+id/playButton"
    148                 android:layout_height="match_parent" 
    149                 style="@android:style/MediaButton"
    150                 android:src="@drawable/play" />
    151     
    152             <ImageButton android:id="@+id/stopButton"
    153                 android:layout_height="match_parent" 
    154                 style="@android:style/MediaButton"
    155                 android:src="@drawable/stop" />
    156 
    157         </LinearLayout>
    158 
    159     </LinearLayout>
    160     
    161 </LinearLayout>
    162