问题
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