Listview AdMob未显示在我的列表视图中
我在“设计”选项卡上的广告根本没有显示,我不知道我遗漏了什么, 当我把它放在我的listview之前,它会显示在右上角,然后按我的按钮到右边,我不知道这是什么原因 请帮帮我, 谢谢Listview AdMob未显示在我的列表视图中,listview,admob,Listview,Admob,我在“设计”选项卡上的广告根本没有显示,我不知道我遗漏了什么, 当我把它放在我的listview之前,它会显示在右上角,然后按我的按钮到右边,我不知道这是什么原因 请帮帮我, 谢谢 Wrapscrollview和adview通过fragmentlayout我已经将android:layout\u height=“match\u parent”更改为android:layout\u height=“Wrap\u content”,并按照类似帖子中的建议增加了权重,但这并没有解决我的问题,我已完
Wrap
scrollview
和adview
通过fragmentlayout
我已经将android:layout\u height=“match\u parent”更改为android:layout\u height=“Wrap\u content”,并按照类似帖子中的建议增加了权重,但这并没有解决我的问题,我已完成我的应用程序,现在我只等待发布我的应用程序:/
<ScrollView
android:id="@+id/scrollView1"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:layout_editor_absoluteY="8dp"
tools:layout_editor_absoluteX="8dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<ImageButton
android:id="@+id/chap1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@null"
app:srcCompat="@drawable/chap1"
tools:layout_editor_absoluteX="16dp"
tools:layout_editor_absoluteY="16dp" />
<ImageButton
android:id="@+id/chap2"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@null"
app:srcCompat="@drawable/chap2"
tools:layout_editor_absoluteX="16dp"
tools:layout_editor_absoluteY="16dp" />
<ImageButton
android:id="@+id/chap3"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@null"
app:srcCompat="@drawable/chap3"
tools:layout_editor_absoluteX="16dp"
tools:layout_editor_absoluteY="16dp" />
</LinearLayout>
</ScrollView>
<com.google.android.gms.ads.AdView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_alignParentBottom="true"
ads:adSize="BANNER"
ads:adUnitId="@string/banner_ad_unit_id">
</com.google.android.gms.ads.AdView>