diff options
Diffstat (limited to 'res/layout-land')
-rw-r--r-- | res/layout-land/videoplayer_activity.xml | 61 |
1 files changed, 20 insertions, 41 deletions
diff --git a/res/layout-land/videoplayer_activity.xml b/res/layout-land/videoplayer_activity.xml index 675d9709d..344e86ddd 100644 --- a/res/layout-land/videoplayer_activity.xml +++ b/res/layout-land/videoplayer_activity.xml @@ -6,8 +6,8 @@ <VideoView android:id="@+id/videoview" - android:layout_width="match_parent" - android:layout_height="match_parent" /> + android:layout_width="wrap_content" + android:layout_height="wrap_content" /> <ProgressBar android:id="@+id/progressIndicator" @@ -16,56 +16,29 @@ android:layout_gravity="center" android:visibility="invisible" android:indeterminateOnly="true" /> - <!-- Mediaplayer controls --> + + <ImageButton + android:id="@+id/butPlay" + android:layout_width="80dp" + android:layout_height="80dp" + android:layout_gravity="center" + android:scaleType="fitXY" + android:background="@drawable/overlay_button_circle_background" + android:src="@drawable/ic_action_pause_over_video" /> <LinearLayout android:id="@+id/overlay" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_gravity="bottom|center" - android:background="?attr/overlay_background" + android:background="#80000000" android:orientation="vertical" > <RelativeLayout - android:id="@+id/playercontrol" - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:layout_gravity="clip_horizontal" - android:layout_margin="4dp" > - - <ImageButton - android:id="@+id/butPlay" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_centerHorizontal="true" - android:background="?attr/borderless_button" - android:src="?attr/av_pause" /> - - <ImageButton - android:id="@+id/butFF" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_alignParentTop="true" - android:layout_marginLeft="8dp" - android:layout_toRightOf="@+id/butPlay" - android:background="?attr/borderless_button" - android:src="?attr/av_fast_forward" /> - - <ImageButton - android:id="@+id/butRev" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_alignParentTop="true" - android:layout_marginRight="8dp" - android:layout_toLeftOf="@+id/butPlay" - android:background="?attr/borderless_button" - android:src="?attr/av_rewind" /> - </RelativeLayout> - - <RelativeLayout android:id="@+id/timecontrol" android:layout_width="match_parent" - android:layout_height="30dp" + android:layout_height="50dp" + android:paddingTop="8dp" android:layout_marginBottom="4dp" > <TextView @@ -77,6 +50,9 @@ android:layout_marginBottom="8dp" android:layout_marginLeft="8dp" android:layout_marginRight="8dp" + android:layout_marginTop="4dp" + android:textColor="@color/white" + android:textStyle="bold" android:text="@string/position_default_label" /> <TextView @@ -88,6 +64,9 @@ android:layout_marginBottom="8dp" android:layout_marginLeft="8dp" android:layout_marginRight="8dp" + android:layout_marginTop="4dp" + android:textColor="@color/white" + android:textStyle="bold" android:text="@string/position_default_label" /> <SeekBar |