You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 23, 2020. It is now read-only.
Yes, because FloatingActionButton extends android.widget.ImageButton and not the support library equivalent. The solution around this is to tint your own icons by code...
As stated, this library is not supported any longer.
To make it compatible with AndroidX,
All you need to do is :
update ImageView to use "androidx.appcompat.widget.AppCompatImageView",
update ImageButton to use "androidx.appcompat.widget.AppCompatImageButton"
(You have to fix one of super class constructor as AppCompatImageButton constructor
changed. getOpacity() method.)
It fixed the AndroidX compatibility issue for me.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Tint doesn't apply to icon
and app:srcCompat isn't recognized
The text was updated successfully, but these errors were encountered: