Split out documentation into subfolders.
[platform/upstream/gstreamer.git] / examples / tutorials / android-tutorial-5 / 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
38         <ImageButton
39             android:id="@+id/button_select"
40             android:layout_width="wrap_content"
41             android:layout_height="wrap_content"
42             android:contentDescription="@string/button_select"
43             android:src="@android:drawable/ic_media_next"
44             android:text="@string/button_select" />
45     </LinearLayout>
46
47     <LinearLayout
48         android:layout_width="match_parent"
49         android:layout_height="wrap_content"
50         android:layout_marginBottom="16dip"
51         android:gravity="center_horizontal"
52         android:orientation="horizontal" >
53
54         <TextView
55             android:id="@+id/textview_time"
56             android:layout_width="wrap_content"
57             android:layout_height="wrap_content"
58             android:layout_gravity="center_vertical"
59             android:layout_marginLeft="5dip"
60             android:layout_marginRight="5dip" />
61
62         <SeekBar
63             android:id="@+id/seek_bar"
64             android:layout_width="0dip"
65             android:layout_height="wrap_content"
66             android:layout_gravity="center_vertical"
67             android:layout_weight="1"
68             android:indeterminate="false" />
69     </LinearLayout>
70
71     <com.gst_sdk_tutorials.tutorial_5.GStreamerSurfaceView
72         android:id="@+id/surface_video"
73         android:layout_width="wrap_content"
74         android:layout_height="wrap_content"
75         android:layout_gravity="center_vertical|center_horizontal" />
76
77 </LinearLayout>