我无法删除我的视频预览的白色空间,我已经添加了所有的alignparent,但仍然不工作。它的来源是来自服务器。视频中没有空白区域。videoview右侧白色空间
这里是我的布局:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:context="com.extras.PermitVideoFrag">
<VideoView
android:id="@+id/vid_permit"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_alignParentRight="true"
android:layout_alignParentTop="true"
android:layout_alignParentBottom="true"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:layout_centerHorizontal="true"
/>
</RelativeLayout>
其真正令人沮丧的我了。我找不到一个体面的答案。
请分享videoview的参考画面。 –
添加截图也 –