Some layout beautifying

This commit is contained in:
Xavi Artigas 2012-10-16 11:45:34 +02:00
parent 8548d90aac
commit ad13250d93

View file

@ -2,16 +2,20 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:gravity="center_vertical"
android:orientation="vertical" > android:orientation="vertical" >
<TextView <TextView
android:id="@+id/textview_message" android:id="@+id/textview_message"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" /> android:layout_height="wrap_content"
android:layout_marginBottom="16dip"
android:gravity="center_horizontal" />
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:orientation="horizontal" > android:orientation="horizontal" >
<ImageButton <ImageButton
@ -29,12 +33,12 @@
android:contentDescription="@string/button_stop" android:contentDescription="@string/button_stop"
android:src="@android:drawable/ic_media_pause" android:src="@android:drawable/ic_media_pause"
android:text="@string/button_stop" /> android:text="@string/button_stop" />
</LinearLayout> </LinearLayout>
<SurfaceView <SurfaceView
android:id="@+id/surface_video" android:id="@+id/surface_video"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" /> android:layout_height="wrap_content"
android:layout_gravity="center_vertical|center_horizontal" />
</LinearLayout> </LinearLayout>