我需要添加View我之前TextureView使用的播放视频,这VideoView完全没问题,但我的动画有问题,所以我把它改成了TextureView现在我不能放任何View东西!似乎Textureview将涵盖所有视图这是我的 xml 布局:
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/frmview"
>
<com.my.app.TextureVideoView
android:id="@+id/vv_play"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:alpha="0.0" />
<ImageView
android:id="@+id/iv_play"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:srcCompat="@drawable/app_ic" />
</FrameLayout>
我怎样才能把正在播放的视频View放在上面?TextureView