gstreamer/tutorials/android-tutorial-3/res/layout/main.xml

46 lines
1.7 KiB
XML
Raw Normal View History

2012-10-15 16:48:58 +00:00
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
2012-10-16 09:45:34 +00:00
android:gravity="center_vertical"
2012-10-15 16:48:58 +00:00
android:orientation="vertical" >
<TextView
android:id="@+id/textview_message"
android:layout_width="match_parent"
2012-10-16 09:45:34 +00:00
android:layout_height="wrap_content"
android:layout_marginBottom="16dip"
android:gravity="center_horizontal" />
2012-10-15 16:48:58 +00:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="16dip"
2012-10-16 09:45:34 +00:00
android:gravity="center_horizontal"
2012-10-15 16:48:58 +00:00
android:orientation="horizontal" >
<ImageButton
android:id="@+id/button_play"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:contentDescription="@string/button_play"
android:src="@android:drawable/ic_media_play"
android:text="@string/button_play" />
<ImageButton
android:id="@+id/button_stop"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:contentDescription="@string/button_stop"
android:src="@android:drawable/ic_media_pause"
android:text="@string/button_stop" />
</LinearLayout>
2012-10-19 12:38:46 +00:00
<org.freedesktop.gstreamer.tutorials.tutorial_3.GStreamerSurfaceView
2012-10-15 16:48:58 +00:00
android:id="@+id/surface_video"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2012-10-16 09:45:34 +00:00
android:layout_gravity="center_vertical|center_horizontal" />
2012-10-15 16:48:58 +00:00
</LinearLayout>