Is it possible set a hint for the button in android?
The hint property is only taken into account as a default substitute if the Button text is absent. It is not a real "tooltip" as in HTML title attribute you can see when you hover over an element.
Yes myButton.setHint
in code or android:hint
in XML. A Button
inherits them from TextView
.
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