diff options
author | daniel oeh <daniel.oeh@gmail.com> | 2012-06-27 17:30:54 +0200 |
---|---|---|
committer | daniel oeh <daniel.oeh@gmail.com> | 2012-06-27 17:30:54 +0200 |
commit | 0eded316b37cfd6328d528d1af2ea5e0aa716f35 (patch) | |
tree | 5a845a4d9e9ea6438cee95fda4e4d783a9ac2213 /res | |
parent | 2ba8847610e5a30ddadc00e21c624578bb8b1d4d (diff) | |
download | AntennaPod-0eded316b37cfd6328d528d1af2ea5e0aa716f35.zip |
Implemented landscape layout for videoplayer
Diffstat (limited to 'res')
-rw-r--r-- | res/layout-land/mediaplayer_activity.xml | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/res/layout-land/mediaplayer_activity.xml b/res/layout-land/mediaplayer_activity.xml new file mode 100644 index 000000000..52c64d4ca --- /dev/null +++ b/res/layout-land/mediaplayer_activity.xml @@ -0,0 +1,51 @@ +<?xml version="1.0" encoding="utf-8"?> +<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical" > + + <VideoView + android:id="@+id/videoview" + android:layout_width="match_parent" + android:layout_height="match_parent" + /> + <!-- Mediaplayer controls --> + + <RelativeLayout + android:id="@+id/playercontrols" + android:layout_width="match_parent" + android:layout_height="30dp" + android:layout_gravity="bottom|center" + android:background="@color/gray" > + + <TextView + android:id="@+id/txtvPosition" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_alignParentLeft="true" + android:layout_alignParentBottom="true" + android:textColor="@color/white" + android:text="@string/position_default_label" /> + + <TextView + android:id="@+id/txtvLength" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_alignParentBottom="true" + android:layout_alignParentRight="true" + android:layout_centerVertical="true" + android:text="@string/position_default_label" + android:textColor="@color/white" /> + + <SeekBar + android:id="@+id/sbPosition" + android:layout_height="wrap_content" + android:layout_width="0px" + android:layout_toLeftOf="@id/txtvLength" + android:layout_toRightOf="@id/txtvPosition" + android:layout_alignParentBottom="true" + android:max="500" /> + + </RelativeLayout> + +</FrameLayout>
\ No newline at end of file |