Update theme submodule
[platform/upstream/gstreamer.git] / examples / tutorials / android-tutorial-3 / res / layout / main.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3     android:layout_width="match_parent"
4     android:layout_height="match_parent"
5     android:gravity="center_vertical"
6     android:orientation="vertical" >
7
8     <TextView
9         android:id="@+id/textview_message"
10         android:layout_width="match_parent"
11         android:layout_height="wrap_content"
12         android:layout_marginBottom="16dip"
13         android:gravity="center_horizontal" />
14
15     <LinearLayout
16         android:layout_width="match_parent"
17         android:layout_height="wrap_content"
18         android:layout_marginBottom="16dip"
19         android:gravity="center_horizontal"
20         android:orientation="horizontal" >
21
22         <ImageButton
23             android:id="@+id/button_play"
24             android:layout_width="wrap_content"
25             android:layout_height="wrap_content"
26             android:contentDescription="@string/button_play"
27             android:src="@android:drawable/ic_media_play"
28             android:text="@string/button_play" />
29
30         <ImageButton
31             android:id="@+id/button_stop"
32             android:layout_width="wrap_content"
33             android:layout_height="wrap_content"
34             android:contentDescription="@string/button_stop"
35             android:src="@android:drawable/ic_media_pause"
36             android:text="@string/button_stop" />
37     </LinearLayout>
38
39     <org.freedesktop.gstreamer.tutorials.tutorial_3.GStreamerSurfaceView
40         android:id="@+id/surface_video"
41         android:layout_width="wrap_content"
42         android:layout_height="wrap_content"
43         android:layout_gravity="center_vertical|center_horizontal" />
44
45 </LinearLayout>