Update theme submodule
[platform/upstream/gstreamer.git] / examples / tutorials / android-tutorial-4 / 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     <LinearLayout
40         android:layout_width="match_parent"
41         android:layout_height="wrap_content"
42         android:layout_marginBottom="16dip"
43         android:gravity="center_horizontal"
44         android:orientation="horizontal" >
45
46         <TextView
47             android:id="@+id/textview_time"
48             android:layout_width="wrap_content"
49             android:layout_height="wrap_content"
50             android:layout_gravity="center_vertical"
51             android:layout_marginLeft="5dip"
52             android:layout_marginRight="5dip" />
53
54         <SeekBar
55             android:id="@+id/seek_bar"
56             android:layout_width="0dip"
57             android:layout_height="wrap_content"
58             android:layout_gravity="center_vertical"
59             android:layout_weight="1"
60             android:indeterminate="false" />
61     </LinearLayout>
62
63     <com.gst_sdk_tutorials.tutorial_4.GStreamerSurfaceView
64         android:id="@+id/surface_video"
65         android:layout_width="wrap_content"
66         android:layout_height="wrap_content"
67         android:layout_gravity="center_vertical|center_horizontal" />
68
69 </LinearLayout>