android: Banner Flurry Ads na pełnym ekranie
Wdrażam reklamy banerowe flurry w mojej aplikacji. Ale wymaga pełnego ekranu. Mój główny plik activity.xml to
<?xml version="1.0" encoding="UTF-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/background"
android:orientation="vertical" >
<FrameLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:id="@+id/bannerframe" >
</FrameLayout>
<SeekBar
android:id="@+id/volumeBar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="5dp" />
<android.support.v4.view.ViewPager
android:id="@+id/pager"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</LinearLayout>
a java robię ten kod.
FrameLayout fViewGroup = (FrameLayout)findViewById(R.id.bannerframe);
FlurryAgent.onStartSession(appContext, "My API Key is here");
FlurryAgent.initializeAds(appContext);
FlurryAgent.getAd(appContext, "Deer Hunting Calls",fViewGroup,FlurryAdSize.BANNER_TOP, 0);
Oto zrzut ekranu, który otrzymuję.
ktoś wie, dlaczego add robi pełny ekran ??? Wypróbowałem wszystkie opcje w android: layout_width i height z fill_parent, warp_content, match_parent itp., Ale nadal uzyskują te same wyniki.