0
我在我的android應用程序中集成了admob廣告。我使用jfeinstein的滑動菜單,所以當我滑動它時,adview也會滑動它。無論滑動菜單狀態如何讓它粘在屏幕上?滑動菜單時使adview棍子到位
一些代碼:
<com.google.ads.AdView
xmlns:ads="http://schemas.android.com/apk/lib/com.google.ads"
android:id="@+id/adview"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
ads:adSize="BANNER"
ads:adUnitId="ID"
ads:loadAdOnCreate="true" />
adView = (AdView) findViewById(R.id.adview);
adView.loadAd(new AdRequest());
我不明白怎麼樣? – user2629828