<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<VideoView
android:id="@+id/videoView"
android:layout_height="fill_parent"
android:layout_width="fill_parent"
android:layout_gravity="center"
/>
</LinearLayout>我这么写,结果还是视频还是按照了原有的比例了。。急求啊。。搞了好久VideoView拉伸layout
android:layout_width="match_parent"
android:layout_height="match_parent">
<VideoView
android:id="@+id/videoView"
android:layout_height="fill_parent"
android:layout_width="fill_parent"
android:layout_gravity="center"
/>
</LinearLayout>我这么写,结果还是视频还是按照了原有的比例了。。急求啊。。搞了好久VideoView拉伸layout
解决方案 »
- 怎么将SurfaceView中的视频旋转90度显示
- Android 联系人里新加群组
- 2.2下面开发的应用,能够被2.3或更新的系统兼容么?
- 关于android中添加jar包的问题
- android des加密与c#des加密结果不一样,求高手!
- android WIFI无法获取路由IP
- 安卓里文件写出除了Properties+FileOutputStream的方法,还有别的么?
- android添加多媒体文件后及时更新媒体库?
- fragment如何加载网络数据并直接显示,不是listfragment
- opencv如何获得图片所有像素点的坐标?
- 黑马程序员全套视频,很有参考价值!
- 菜鸟关于android
android:layout_width="fill_parent"