• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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    <Button
53        android:id="@+id/finish"
54        android:text="@string/finish"
55        android:layout_width="fill_parent"
56        android:layout_height="wrap_content"
57        />
58</LinearLayout>
59
60<LinearLayout
61    android:orientation="horizontal"
62    android:layout_width="wrap_content"
63    android:layout_height="wrap_content"
64    >
65    <Button
66        android:id="@+id/rewind_java"
67        android:text="@string/rewind_java"
68        android:layout_width="fill_parent"
69        android:layout_height="wrap_content"
70        />
71    <Button
72        android:id="@+id/rewind_native"
73        android:text="@string/rewind_native"
74        android:layout_width="fill_parent"
75        android:layout_height="wrap_content"
76        />
77</LinearLayout>
78
79<LinearLayout
80    android:orientation="horizontal"
81    android:layout_width="wrap_content"
82    android:layout_height="wrap_content"
83    >
84    <TextView
85        android:layout_width="fill_parent"
86        android:layout_height="wrap_content"
87        android:text="S1"
88        />
89    <SurfaceView
90        android:id="@+id/surfaceview1"
91        android:layout_width="320px"
92        android:layout_height="240px"
93        />
94    <TextView
95        android:layout_width="fill_parent"
96        android:layout_height="wrap_content"
97        android:text="S2"
98        />
99    <SurfaceView
100        android:id="@+id/surfaceview2"
101        android:layout_width="400px"
102        android:layout_height="224px"
103        />
104</LinearLayout>
105
106<LinearLayout
107    android:orientation="horizontal"
108    android:layout_width="wrap_content"
109    android:layout_height="wrap_content"
110    >
111    <TextView
112        android:layout_width="fill_parent"
113        android:layout_height="wrap_content"
114        android:text="ST1"
115        />
116    <com.example.nativemedia.MyGLSurfaceView
117        android:id="@+id/glsurfaceview1"
118        android:layout_width="320px"
119        android:layout_height="240px"
120        />
121    <TextView
122        android:layout_width="fill_parent"
123        android:layout_height="wrap_content"
124        android:text="ST2"
125        />
126    <com.example.nativemedia.MyGLSurfaceView
127        android:id="@+id/glsurfaceview2"
128        android:layout_width="320px"
129        android:layout_height="240px"
130        />
131</LinearLayout>
132
133</LinearLayout>
134