AdMob 광고 참조를 탭보기 위에 놓으려고하면 "XML 파일 구문 분석 오류 : 언 바운드 접두사"가 표시됩니다. 어떤 생각을 고치는 방법? 당신이 사용하고TabbedView 위에 AdMob 광고를 추가 하시겠습니까?
<?xml version="1.0" encoding="utf-8"?>
<TabHost xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@android:id/tabhost" android:layout_width="fill_parent"
android:layout_height="fill_parent">
<LinearLayout android:orientation="vertical"
android:layout_width="fill_parent" android:layout_height="fill_parent"
android:padding="5dp">
<com.admob.android.ads.AdView android:id="@+id/ad"
android:layout_width="fill_parent" android:layout_height="wrap_content"
myapp:backgroundColor="#000000" myapp:primaryTextColor="#FFFFFF"
myapp:secondaryTextColor="#CCCCCC" />
<TabWidget android:id="@android:id/tabs"
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:padding="5dp" />
</LinearLayout>
</TabHost>
물론 당신 말이 맞아요. 나는 그것을 완전히 놓쳤습니다. * 한숨 * 고마워. 그게 프로젝트 사이에서 일하는 문제입니다 ... xmlns : myapp = "http://schemas.android.com/apk/res/com.package.namespace" –
:) 왜 내가 그것을 알고 있다고 생각합니까?> 내 일을 마쳤습니다. 이것의 공유;) .... 대부분 안드로이드 선언하지 않습니다 : 접두사, 또는 너무 늦게 선언 : – Nanne