<TabHost
  
  android:id="@android:id/tabhost"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent">
       
        <RelativeLayout
         android:layout_width="fill_parent"
         android:layout_height="fill_parent"
         android:orientation="vertical"
         android:id="@+id/hostRalativeLayout">
    <TabWidget
     android:id="@android:id/tabs"
     android:layout_alignParentBottom="true"
           android:layout_width="fill_parent"
           android:layout_height="wrap_content"/>
    <FrameLayout
    android:id="@android:id/tabcontent"
    android:layout_width="fill_parent"
                android:layout_height="fill_parent"
                android:layout_above="@android:id/tabs"
                />

        </RelativeLayout>
   </TabHost>

 

탭 호스트를 사용하고있는데요 이곳에 cauly광고를 넣고싶습니다..

우선 tabHost안에 넣어봤는데 보이긴 하나 광고가 변경이 안됩니다..

 

카울리에 질문하였으나

<com.cauly.android.ad.AdView
xmlns:app="http://schemas.android.com/apk/res/xxxxxxxx"
android:id="@+id/ad"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_above="@android:id/tabs"
            app:appcode="xxxxxxxx"
            app:adtype="cpc"
            app:gender="all"
            app:age="all"
            app:gps="off"
            app:effect="top_slide"
            app:allowcall="yes"    
            app:reloadInterval="90"/>

이렇게 설정하였으나 변경이 안됩니다

 

 

문의 내용으로 확인 시,

 

개발자님의 app 을 보았을 때 탭 호스트로 진행 하신 걸로 확인되며, 탭 호스트에서 빼서 LayoutInflater를 이용하시어

 

getWindow().addContentView를 하셔야 하며, 물론 광고 View는 따로 적용 하셔야 합니다.

 

LayoutInflater를 이용하라고 말하는데 도대체 어떻게 해야하는지 감이 오질안네요...

 

좀도와주셨으면 합니다 광고를 어떻게 붙일수있을까요