- bugfix: video is now playing in fullscreen
authortobiasKaminsky <tobias@kaminsky.me>
Sat, 25 Oct 2014 16:55:15 +0000 (18:55 +0200)
committertobiasKaminsky <tobias@kaminsky.me>
Sat, 25 Oct 2014 16:55:15 +0000 (18:55 +0200)
res/layout/video_layout.xml

index dfa29f7..3c28ae3 100644 (file)
@@ -3,9 +3,10 @@
                                android:layout_width="match_parent"
                                android:layout_height="match_parent" >
 
-       <VideoView  android:id="@+id/videoPlayer"
-                               android:layout_width="wrap_content"
-                               android:layout_height="wrap_content"  
-                               android:layout_gravity="center" />
+       <VideoView
+           android:id="@+id/videoPlayer"
+           android:layout_width="fill_parent"
+           android:layout_height="fill_parent"
+           android:layout_gravity="center" />
        
 </FrameLayout>
\ No newline at end of file