Why does ImageButton.onSetAlpha() return false always?

CodingChap

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!

Andreas

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.

edited at
0

Comments

0 comments
Login to comment

Related

Why does my getColor function always return false?

Why does "n&1 == 0" always return false?

Why does Thread.isInterrupted () always return false?

Why does this return False

Why does False==False in [False] return True?

Why does this always return 0?

Why this android function always return false?

Why isPasswordValid() function always return false?

Why Laravel Auth::check always return false?

Why bcrypt.compareSync() always return false?

Does "instanceof Void" always return false?

Why does isPrototypeOf() return false?

In JQuery, why does $(this) == $(this) return false?

Why does IsGenericTypeDefinition return false?

Why does the function return false?

Why does "not(True) in [False, True]" return False?

Why does @User.IsInRole always return false in _Layout.cshtml

Why does the -e file existence test always return false for a filename containing non-ASCII characters?

Using Google Sheets scripts, why does my if statement always return false when comparing cell values?

Why does my function always returns false, even if it finds return true before?

Why does sonar think this expression is always false

Why does `checkInputlength` always returns false?

Why does this if condition always evaluate to false? [GoLang]

Why always return "None" string, like my if statment was always false?

Why does '() is ()' return True when '[] is []' and '{} is {}' return False?

Why does "ndarray.all() is False" always returns False in python?

Why does false && (false)?false:true return true

Why Does Async Always Return a Promise?

Why does Gson toJson always return null?