Android 8+ adds the ability to attach a text tooltip to a view. This post shows some wrapper code to do this with JavaObject.
Just like elevation has been added for panels, I'd love to see tooltips added as a declarative property on views, so we could define them using the Designer or in simple code (e.g. aView.tooltip = "Hello world").
This would work on Android 8+, and be ignored for earlier versions.
Thoughts?
Just like elevation has been added for panels, I'd love to see tooltips added as a declarative property on views, so we could define them using the Designer or in simple code (e.g. aView.tooltip = "Hello world").
This would work on Android 8+, and be ignored for earlier versions.
Thoughts?