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="match_parent" 5 android:layout_height="match_parent"> 6 <TableLayout 7 android:layout_width="match_parent" 8 android:layout_height="wrap_content"> 9 <TableRow 10 android:layout_width="match_parent" 11 android:layout_height="match_parent" > 12 <TextView 13 android:layout_width="wrap_content" 14 android:layout_height="wrap_content" 15 android:text="Display name" /> 16 <EditText 17 android:id="@+id/camera_name_edit_text" 18 android:layout_width="wrap_content" 19 android:layout_height="wrap_content" 20 android:ems="10" 21 android:inputType="text" 22 android:text="Virtual Camera" /> 23 </TableRow> 24 <TableRow 25 android:layout_width="match_parent" 26 android:layout_height="match_parent" > 27 <TextView 28 android:id="@+id/camera_input_type" 29 android:layout_width="wrap_content" 30 android:layout_height="wrap_content" 31 android:text="Virtual Camera input type" /> 32 <RadioGroup 33 android:id="@+id/camera_type_radio_group" 34 android:layout_width="wrap_content" 35 android:layout_height="wrap_content" > 36 <RadioButton 37 android:id="@+id/radio_canvas" 38 android:layout_width="match_parent" 39 android:layout_height="wrap_content" 40 android:text="Canvas" /> 41 <RadioButton 42 android:id="@+id/radio_video_file" 43 android:layout_width="match_parent" 44 android:layout_height="wrap_content" 45 android:text="MediaPlayer" /> 46 <RadioButton 47 android:id="@+id/radio_virtual_display" 48 android:layout_width="match_parent" 49 android:layout_height="wrap_content" 50 android:text="VirtualDisplay" 51 android:enabled="false" /> 52 </RadioGroup> 53 </TableRow> 54 </TableLayout> 55 <Button 56 android:id="@+id/create_camera_button" 57 android:layout_width="match_parent" 58 android:layout_height="wrap_content" 59 android:text="Create camera" /> 60 <ListView 61 android:id="@+id/cameras_list_view" 62 android:layout_width="match_parent" 63 android:layout_height="match_parent" /> 64</LinearLayout>