ビューのバックグラウンドでビデオを再生したい.ビュー内で、ボタンやテキストビューなどの他のビューが必要ですが、それを行うことは可能ですか? 次のコードを使用してみました<
RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="fill_parent"
android:layout_height="fill_parent">
<VideoView
android:scrollbars="none"
android:clickable="false"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_alignParentTop="true"
android:layout_alignParentLeft="true"
android:layout_alignParentBottom="true"
android:layout_alignParentRight="true"
android:fitsSystemWindows="true"
android:id="@+id/VideoView">
</VideoView>
<TextView
android:text="hi123"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
/>
</RelativeLayout>
どうすればそれが可能になるか教えてください。
ありがとうございました。