我的main中一直提示錯(cuò)誤
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
? ? xmlns:custom="http://schemas.android.com/apk/res/com.example.topbardemo1"
? ? ?xmlns:tools="http://schemas.android.com/tools"
? ? android:layout_width="match_parent"
? ? android:layout_height="match_parent"?
? ? android:padding="5dp"
? ? tools:context=".MainActivity">
? ??
<com.example.topbardemo1.TopBar
? ? andriod:id="@+id/topBar"
? ? android:layout_width="match_parent"
? ? android:layout_height="40dp"
? ? ?custom:leftBackground="@drawable/blue_button"
? ? ? ? custom:leftText="Back"
? ? ? ? custom:leftTextColor="#FFFFFF"
? ? ? ? custom:rightBackground="@drawable/blue_button"
? ? ? ? ?custom:rightText="More"
? ? ? ? custom:rightTextColor="#FFFFFF"
? ? ? ? custon:title="Title"
? ? ? ? custom:titleTextColor="#123412"
? ? ? ? custom:titleTextSize="10sp"
? ? ></com.example.topbardemo1.TopBar>
?
</RelativeLayout>
一直在<com.example.topbardemo1.TopBar ?這行提示error: Error parsing XML: unbound prefix,但是路徑我沒寫錯(cuò)啊,我用的eclipse
2015-09-17
你把你完整的代碼貼出來,我?guī)湍憧聪?/p>
2015-09-17
我的手在
? custom:rightTextColor="#FFFFFF"
? ? ? ? custon:title="Title"
? ? ? ? custom:titleTextColor="#123412"
?? custon:title="Title"這行當(dāng)n寫錯(cuò),應(yīng)該是m才對(duì)。。。
2015-09-16
我是報(bào)
發(fā)現(xiàn)多個(gè)注釋這一行:
——錯(cuò)誤:沒有發(fā)現(xiàn)資源標(biāo)識(shí)符的屬性“titleTextSize”包
“com.example.tapbar”
——錯(cuò)誤:沒有發(fā)現(xiàn)資源標(biāo)識(shí)符的屬性“rightTcxtColor”包
“com.example.tapbar”
同樣沒有找出來!!!!