diff options
author | daniel oeh <daniel.oeh@gmail.com> | 2013-12-29 22:13:18 +0100 |
---|---|---|
committer | daniel oeh <daniel.oeh@gmail.com> | 2013-12-29 22:13:18 +0100 |
commit | 85800d14ac3ab27881ee89ca15bcab2edfb9e0e1 (patch) | |
tree | 99cced6d65963fe7c4a68b8fb57d45c7fcc0d4a7 /res/layout-land | |
parent | b8649277098347cf919c366fafc5ebd6c0f77f28 (diff) | |
download | AntennaPod-85800d14ac3ab27881ee89ca15bcab2edfb9e0e1.zip |
Updated video player UI
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 |