如何为Android实现ArcMenu?
我想申请一份工作 代码本身运行得很好,但我不知道如何使它与其他项目一起工作。 它看起来不像是一个Android库项目 当尝试将此项目与我自己的项目一起使用时,我在Eclipse控制台中得到了以下结果:如何为Android实现ArcMenu?,android,eclipse,android-ui,android-library,Android,Eclipse,Android Ui,Android Library,我想申请一份工作 代码本身运行得很好,但我不知道如何使它与其他项目一起工作。 它看起来不像是一个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: erro
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'
在XML上,似乎没有正确定义名称空间 例如,所有android框架的内容如下:
xmlns:android=”http://schemas.android.com/apk/res/android“
我建议查看您的示例,看看ArcLibrary的内容。编辑
我分叉了ArcMenu并将其发布在Github上
现在出现了一个更好的代码:
我建议你用那个。我有com.capricorm上的
xmlns:android
和xmlns:custom
。示例应用程序运行良好,但我不知道如何使用它。没有示例项目,没有使用。死链接。请重新发布新链接。从2014年起,我现在建议大家关注Android-L即将推出的浮动操作栏。