I was looking at this post to figure out the differences between a clickable image view and an image button.
In accepted answer @Michael says:
EDIT: Also, ImageButton.onSetAlpha() method always returns false, scaleType is set to center and it's always inflated as focusable.
My question is: Why does ImageButton.onSetAlpha()
always return false? I've checked out the docs which says that the default implementation is false, but never explictly says that onSetAlpha will always return false.
Thanks!
He's talking about what the image button does, and as you just quoted, the documentation explicitly says that the default implementation (always) returns false.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments