浏览代码

- bugfix: video is now playing in fullscreen

tobiasKaminsky 10 年之前
父节点
当前提交
b18fabe9d7
共有 1 个文件被更改,包括 5 次插入4 次删除
  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="fill_parent"
+	    android:layout_height="fill_parent"
+	    android:layout_gravity="center" />
 	
 </FrameLayout>