android - 从另一个开发人员导入的代码 : <No resource identifier found for attribute 'ProgressColor' in package. ..> 我的一个 .xml 文件中出现错误

标签 android xml

这是 .xml 文件

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:seekarc="http://schemas.android.com/apk/res/com.pelkinsoft.enpower"
android:layout_width="match_parent"
android:layout_height="match_parent" >

错误发生在:

    <com.triggertrap.seekarc.SeekArc
        android:id="@+id/seekArc"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_gravity="center"
        android:padding="30dp"
        seekarc:progressColor="@color/arc_color"
        seekarc:rotation="180"
        seekarc:startAngle="30"
        seekarc:sweepAngle="300"
        seekarc:touchInside="true" />

我是 Android 的新手,这让我无法有效地使用这个应用程序。任何帮助将不胜感激。

最佳答案

您必须将 Seek Arc 库 ( https://github.com/neild001/SeekArc#adding-to-your-project ) 添加到您的项目中

关于android - 从另一个开发人员导入的代码 : <No resource identifier found for attribute 'ProgressColor' in package. ..> 我的一个 .xml 文件中出现错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37618986/

相关文章:

xml - 为什么 XSD 规范接受具有 -14H 的时区?

java - Netty - Xml 字符串的分隔符

android - 如何将自定义 View 置于 Android 内置 View 之上?

android - 滑动菜单项的 ClickListener

android - 在 Android Studio 中究竟将 gradle 依赖项放在哪里?

java - 二进制 XML 文件行 XX : Error inflating class When inherit the BottomSheet

xml - XPath 查找具有特定子节点的所有元素

android - java.lang.IllegalArgumentException : Bad class: class java. util.GregorianCalendar

android - setItemChecked 不工作

android - 无法将 TextView 放在抽屉导航中图像的右侧