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<TextView
8    android:layout_width="fill_parent"
9    android:layout_height="wrap_content"
10    android:text="@string/hello"
11    />
12<TextView
13    android:layout_width="fill_parent"
14    android:layout_height="wrap_content"
15    android:text="@string/source_select"
16    />
17<Spinner
18    android:id="@+id/source_spinner"
19    android:layout_width="fill_parent"
20    android:layout_height="wrap_content"
21    android:text="@string/source_prompt"
22    />
23<TextView
24    android:layout_width="fill_parent"
25    android:layout_height="wrap_content"
26    android:text="@string/sink_select"
27    />
28<Spinner
29    android:id="@+id/sink_spinner"
30    android:layout_width="fill_parent"
31    android:layout_height="wrap_content"
32    android:text="@string/sink_prompt"
33    />
34
35<LinearLayout
36    android:orientation="horizontal"
37    android:layout_width="wrap_content"
38    android:layout_height="wrap_content"
39    >
40    <Button
41        android:id="@+id/start_java"
42        android:text="@string/start_java"
43        android:layout_width="fill_parent"
44        android:layout_height="wrap_content"
45        />
46    <Button
47        android:id="@+id/start_native"
48        android:text="@string/start_native"
49        android:layout_width="fill_parent"
50        android:layout_height="wrap_content"
51        />
52</LinearLayout>
53
54<LinearLayout
55    android:orientation="horizontal"
56    android:layout_width="wrap_content"
57    android:layout_height="wrap_content"
58    >
59    <Button
60        android:id="@+id/rewind_java"
61        android:text="@string/rewind_java"
62        android:layout_width="fill_parent"
63        android:layout_height="wrap_content"
64        />
65    <Button
66        android:id="@+id/rewind_native"
67        android:text="@string/rewind_native"
68        android:layout_width="fill_parent"
69        android:layout_height="wrap_content"
70        />
71</LinearLayout>
72
73<LinearLayout
74    android:orientation="horizontal"
75    android:layout_width="wrap_content"
76    android:layout_height="wrap_content"
77    >
78    <TextView
79        android:layout_width="fill_parent"
80        android:layout_height="wrap_content"
81        android:text="S1"
82        />
83    <SurfaceView
84        android:id="@+id/surfaceview1"
85        android:layout_width="320px"
86        android:layout_height="240px"
87        />
88    <TextView
89        android:layout_width="fill_parent"
90        android:layout_height="wrap_content"
91        android:text="S2"
92        />
93    <SurfaceView
94        android:id="@+id/surfaceview2"
95        android:layout_width="400px"
96        android:layout_height="224px"
97        />
98</LinearLayout>
99
100<LinearLayout
101    android:orientation="horizontal"
102    android:layout_width="wrap_content"
103    android:layout_height="wrap_content"
104    >
105    <TextView
106        android:layout_width="fill_parent"
107        android:layout_height="wrap_content"
108        android:text="ST1"
109        />
110    <com.example.nativemedia.MyGLSurfaceView
111        android:id="@+id/glsurfaceview1"
112        android:layout_width="320px"
113        android:layout_height="240px"
114        />
115    <TextView
116        android:layout_width="fill_parent"
117        android:layout_height="wrap_content"
118        android:text="ST2"
119        />
120    <com.example.nativemedia.MyGLSurfaceView
121        android:id="@+id/glsurfaceview2"
122        android:layout_width="320px"
123        android:layout_height="240px"
124        />
125</LinearLayout>
126
127</LinearLayout>
128