Browse Source

Merge pull request #683 from tobiasKaminsky/videoFullsize

Bugfix: video is now playing in fullscreen
David A. Velasco 10 năm trước cách đây
mục cha
commit
17afcb0251
1 tập tin đã thay đổi với 5 bổ sung4 xóa
  1. 5 4
      res/layout/video_layout.xml

+ 5 - 4
res/layout/video_layout.xml

@@ -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="match_parent"
+	    android:layout_height="match_parent"
+	    android:layout_gravity="center" />
 	
 </FrameLayout>