同じAndroidアプリケーションでAdMobとActionBarSherlockを使用したいのですが、AdMobを画面の上部(Sherlock ActionBarの上)に配置することができません。
誰かが同様の問題を抱えていましたか?誰かがいくつかの回避策について知っていますか?
ありがとう。
私の一般的なレイアウト:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<include layout="@layout/admob"/>
<TabHost
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@android:id/tabhost"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout.....
私のAdMobレイアウト:
<?xml version="1.0" encoding="utf-8"?>
<com.google.ads.AdView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:ads="http://schemas.android.com/apk/lib/com.google.ads"
android:id="@+id/adView"
android:layout_height="wrap_content"
ads:adUnitId="123456"
ads:adSize="BANNER"
android:layout_width="match_parent"/>