다음 그림과 같은 레이아웃을 설계해야합니다. 그리고 저는 3 개의 선형 레이아웃을 취하여이를 시도했습니다. 첫 번째 선형 레이아웃에서 이미지를 "머리글"로, 두 번째를 VideoView로, 세 번째를 바닥 글로 추가해야합니다. 바닥 글 이미지는 에뮬레이터와 장치에도 표시되지 않습니다. 어떻게 해결할 수 있습니까?linearView와 함께 VideoView를 정렬 할 때의 문제
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="fill_parent" android:layout_width="match_parent"
android:orientation="vertical">
<LinearLayout android:id="@+id/linearLayout3"
android:layout_width="match_parent" android:layout_height="wrap_content"
android:background="@drawable/header" android:orientation="vertical"></LinearLayout>
<LinearLayout android:id="@+id/linearLayout2"
android:orientation="vertical" android:layout_width="match_parent"
android:layout_height="150dp">
<VideoView android:id="@+id/videoView1"
android:layout_width="fill_parent" android:layout_height="wrap_content"
android:keepScreenOn="true" android:fitsSystemWindows="true"></VideoView>
</LinearLayout>
<LinearLayout android:id="@+id/linearLayout1"
android:orientation="vertical" android:layout_height="wrap_content"
android:layout_width="match_parent" android:background="@drawable/footer"></LinearLayout>
</LinearLayout>
지금까지 시도한 xml 레이아웃을 게시해야합니다. –