2012-10-11 35 views
0

我正在嘗試爲我的應用程序獲得ArcMenu如何實施ArcMenu for Android?

該代碼本身運行良好,但我不知道如何使它與另一個項目一起工作。 它看起來並不像一個Android庫項目...

當嘗試使用這個項目與我自己,這是我在Eclipse的控制檯中看到:

res/layout/arc_menu.xml:4: error: No resource identifier found for attribute 'fromDegrees' in package 'com.capricorn' 
res/layout/arc_menu.xml:4: error: No resource identifier found for attribute 'toDegrees' in package 'com.capricorn' 
res/layout/ray_menu.xml:4: error: No resource identifier found for attribute 'childSize' in package 'com.capricorn' 
res/layout/ray_menu.xml:4: error: No resource identifier found for attribute 'leftHolderWidth' in package 'com.capricorn' 

回答

0

似乎在你的XML您沒有正確定義名稱空間。

例如,對於所有的Android框架的東西是: xmlns:android="http://schemas.android.com/apk/res/android"

我建議你的例子會是怎樣的ARCLibrary中檢查。

+0

我有'xmlns:android'和'xmlns:custom' from com.capricorm。示例應用程序工作正常,但我不知道如何使用它。沒有示例項目,沒有用法。 – shkschneider