I created a library project from
android-sdk\extras\android\m2repository\com\android\support\design\design-25.0.1.aar
I added appcompat
, recyclerview
and cardview
libraries.
There is an error message:
design_25.0.1\res\color\design_tint_password_toggle.xml:19: error: No resource identifier found for attribute 'alpha' in package 'android.support.design'
This is the code of design_tint_password_toggle.xml
<selector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<item android:state_checked="true" android:color="?android:attr/colorForeground" app:alpha="0.54"/>
<item android:color="?android:attr/colorForeground" app:alpha="0.38"/>
</selector>
How can I fix this error?
Its work for me.
Change here:-
xmlns:app="http://schemas.android.com/apk/res-auto">
to
xmlns:app="http://schemas.android.com/apk/lib-auto">
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With