No resource identifier found for attribute 'ProgressIndeterminate in package 'cn.pedant.sweetalert'

白昼怎懂夜的黑 提交于 2020-06-17 03:19:11

问题


I just watched a youtube video of setting a Stylish alert dialog in the project but the guy in the video was using Android Studio as development platform and i use Eclipse. So i just went to the mentioned GitHub link and downloaded the project library. Now i have imported that project library in my Eclipse. But inside one xml there is an error shown :

<com.pnikosis.materialishprogress.ProgressWheel
        android:id="@+id/progressWheel"
        android:layout_width="80dp"
        android:layout_height="80dp"
        wheel:progressIndeterminate="true"
        android:layout_gravity="center" />

error: No resource identifier found for attribute 'ProgressIndeterminate in package 'cn.pedant.sweetalert'

error was in the first line of above code snippet.


回答1:


Lol. That's funny how I accidentally got the solution for the above problem. I just needed to replace the

wheel:progressIndeterminate = "true"

to

wheel:matProg_progressIndeterminate = "true"

and it worked like a charm.



来源:https://stackoverflow.com/questions/42804920/no-resource-identifier-found-for-attribute-progressindeterminate-in-package-cn

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!