summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authordaniel oeh <daniel.oeh@gmail.com>2012-06-27 14:10:38 +0200
committerdaniel oeh <daniel.oeh@gmail.com>2012-06-27 14:10:38 +0200
commit853556b0cfd636bf551c43beba1d516ab503e772 (patch)
tree2fe2747a90939c38fcc6c8e6cd254d300317b0a8 /res
parent18e8212981ddb1777aa4dcc380d04e2dcb367f78 (diff)
downloadAntennaPod-853556b0cfd636bf551c43beba1d516ab503e772.zip
Added support for video playback
Diffstat (limited to 'res')
-rw-r--r--res/layout/mediaplayer_activity.xml19
1 files changed, 15 insertions, 4 deletions
diff --git a/res/layout/mediaplayer_activity.xml b/res/layout/mediaplayer_activity.xml
index 502c422e1..a2a4beee3 100644
--- a/res/layout/mediaplayer_activity.xml
+++ b/res/layout/mediaplayer_activity.xml
@@ -4,12 +4,23 @@
android:layout_height="match_parent"
android:orientation="vertical" >
- <ImageView
- android:id="@+id/imgvCover"
+ <ViewSwitcher
+ android:id="@+id/viewswitcher"
android:layout_width="match_parent"
android:layout_height="283dp"
- android:layout_weight="0.02"
- android:src="@drawable/navigation_cancel" />
+ android:layout_weight="0.02" >
+
+ <ImageView
+ android:id="@+id/imgvCover"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:src="@drawable/navigation_cancel" />
+
+ <VideoView
+ android:id="@+id/videoview"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" />
+ </ViewSwitcher>
<RelativeLayout
android:id="@+id/playtime_layout"