Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      3     android:orientation="vertical"
      4     android:layout_width="fill_parent"
      5     android:layout_height="fill_parent"
      6     >
      7     <LinearLayout
      8         android:orientation="horizontal"
      9         android:layout_width="wrap_content"
     10         android:layout_height="wrap_content"
     11         android:layout_margin="8dip"
     12         >
     13         <TextView
     14             android:layout_width="fill_parent"
     15             android:layout_height="wrap_content"
     16             android:text="@string/source_select"
     17             />
     18         <Spinner
     19             android:id="@+id/source_spinner"
     20             android:layout_width="fill_parent"
     21             android:layout_height="wrap_content"
     22             android:text="@string/source_prompt"
     23             />
     24     </LinearLayout>
     25 
     26     <LinearLayout
     27         android:orientation="horizontal"
     28         android:layout_width="wrap_content"
     29         android:layout_height="wrap_content"
     30         android:layout_margin="8dip"
     31         >
     32         <Button
     33             android:id="@+id/start_native"
     34             android:text="@string/start_native"
     35             android:layout_width="fill_parent"
     36             android:layout_height="wrap_content"
     37             />
     38         <Button
     39             android:id="@+id/rewind_native"
     40             android:text="@string/rewind_native"
     41             android:layout_width="fill_parent"
     42             android:layout_height="wrap_content"
     43             />
     44     </LinearLayout>
     45 
     46     <LinearLayout
     47         android:orientation="horizontal"
     48         android:layout_width="wrap_content"
     49         android:layout_height="wrap_content"
     50         android:layout_margin="8dip"
     51         >
     52         <RadioButton
     53             android:id="@+id/radio1"
     54             android:layout_width="wrap_content"
     55             android:layout_height="wrap_content"
     56             android:padding="10dip"
     57         />
     58         <SurfaceView
     59             android:id="@+id/surfaceview1"
     60             android:layout_width="640px"
     61             android:layout_height="480px"
     62             />
     63     </LinearLayout>
     64 
     65     <LinearLayout
     66         android:orientation="horizontal"
     67         android:layout_width="wrap_content"
     68         android:layout_height="wrap_content"
     69         android:layout_margin="8dip"
     70         >
     71         <RadioButton
     72             android:id="@+id/radio2"
     73             android:layout_width="wrap_content"
     74             android:layout_height="wrap_content"
     75             android:padding="10dip"
     76         />
     77         <com.example.nativecodec.MyGLSurfaceView
     78             android:id="@+id/glsurfaceview1"
     79             android:layout_width="640px"
     80             android:layout_height="480px"
     81             />
     82     </LinearLayout>
     83 
     84 </LinearLayout>
     85