1
У меня есть следующая компоновка: CustomVideoView, отображающий видео, прозрачная панель инструментов расположена сверху и надстройка баннера. Я хочу, чтобы надстрочная панель появилась под прозрачной панелью инструментов. Однако в настоящее время он отображается под панелью инструментов, видимый, но не кликабельный. Показать баннер AdView под прозрачной панелью инструментов
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:ads="http://schemas.android.com/apk/res-auto"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:clipChildren="false"
android:id="@+id/frame"
tools:context="com.kelele.movies.Kelele_Home" >
<com.kelele.movies.util.CustomVideoView
android:id="@+id/video"
android:clickable="false"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:fitsSystemWindows="true" />
<com.google.android.gms.ads.AdView
android:id="@+id/adView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
ads:adSize="BANNER"
ads:adUnitId="@string/banner_ad_unit_id"
android:layout_gravity="center_horizontal" />
<include
android:id="@+id/transparent_toolbar"
layout="@layout/toolbar" />
<ImageView
android:id="@+id/video_play_btn"
android:layout_width="100dp"
android:layout_height="100dp"
android:visibility="gone"
android:src="@drawable/play"
android:layout_gravity="center" />