Возможно поместить какое-либо представление по VideoView? (Т.е. помещенный кнопки управления по видео, как в vimeo). Я пытаюсь сделать это использование FrameLayout, но я не нашел путь, и я все еще не уверен, не возможно ли то, что я пытаюсь сделать что-то, которое это просто.
Я делаю такую вещь с Framelayout. Что вам нужно сделать, это убедиться, что элементы управления ниже VideoView в редакторе макета.
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
android:background="@color/MenuTextNormal">
<VideoView
android:id="@+id/VideoView"
android:layout_height="fill_parent"
android:layout_width="fill_parent" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/ControlLayout"
android:layout_gravity="bottom|center_horizontal">
<Button
android:text="@+id/Button01"
android:id="@+id/Button01"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<Button
android:text="@+id/Button02"
android:id="@+id/Button02"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<Button
android:text="@+id/Button03"
android:id="@+id/Button03"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<Button
android:text="@+id/Button04"
android:id="@+id/Button04"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</LinearLayout>
</FrameLayout>