【问题标题】:How to implement ArcMenu for Android?如何为 Android 实现 ArcMenu?
【发布时间】:2012-10-11 13:21:48
【问题描述】:

我正在尝试为我的应用程序获取 ArcMenu

代码本身运行良好,但我不知道如何使它与另一个项目一起工作。 它看起来不像一个 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'

【问题讨论】:

    标签: android eclipse android-ui android-library


    【解决方案1】:

    编辑

    我 fork ArcMenu 并在 Github 上发布。

    现在出现了更好的重新编码:https://github.com/siyamed/android-satellite-menu

    我建议你使用那个。

    【讨论】:

    • 死链接。请重新发布新链接。
    • 截至 2014 年,我现在建议密切关注即将推出的浮动操作栏,它与 Android-L 一起提供。
    【解决方案2】:

    您的 XML 似乎没有正确定义命名空间。

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

    我建议检查您的示例,ArcLibrary 是什么。

    【讨论】:

    • 我有来自 com.capricorm 的 xmlns:androidxmlns:custom。示例应用程序运行良好,但我不知道如何使用它。没有示例项目,没有使用。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-02-01
    相关资源
    最近更新 更多