0

これが私のXMLです:

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
                xmlns:app="http://schemas.android.com/apk/res/com.tahakki.buttonpuzzlelite"
   android:orientation="vertical"
   android:layout_width="fill_parent"
   android:layout_height="fill_parent"
   >
                        <org.anddev.andengine.opengl.view.RenderSurfaceView android:id="@+id/flip_render"
                                android:layout_width="fill_parent"
                                android:layout_height="fill_parent"
                                android:layout_margin="0px"
                                android:layout_centerInParent="true"                           
                                />
        <RelativeLayout
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignTop="@+id/flip_render"
            android:layout_alignLeft="@+id/flip_render"
        >
<!-- Ad here -->

<com.admob.android.ads.AdView
           android:layout_width="fill_parent" 
           android:layout_height="wrap_content"
           app:backgroundColor="#000000"
           app:primaryTextColor="#FFFFFF"
           app:secondaryTextColor="#CCCCCC"
    />
        </RelativeLayout>
</RelativeLayout>

Eclipseは、app:backgroundColor、app:primaryTextColor、およびapp:secondaryTextColorが見つからないと言っています。ビルドパスに適切なAdMobJARがあります。どうしたの?

4

1 に答える 1

0

ライブラリをインポートしましたが、attrs.xml ファイルはインポートしていませんでした。

于 2010-12-21T21:59:15.110 に答える