I would like to create a tooltip like thing in Android to help show my users what something is, as people have told me they don't know what it is. For an idea of what i'm after here is a drawing:
相关问题
- Delete Messages from a Topic in Apache Kafka
- Jackson Deserialization not calling deserialize on
- How can I create this custom Bottom Navigation on
- How to maintain order of key-value in DataFrame sa
- StackExchange API - Deserialize Date in JSON Respo
There are several libraries available that will assist you in implementing tooltips in Android.
I recommend the Android Tooltip library which you can find on Github
Example usage:
For anyone just joining us from searching this.
This is a better Holo solution https://gist.github.com/romannurik/3982005
another alternative would be "super-tooltips":
https://github.com/nhaarman/supertooltips
here's a demo of it:
https://play.google.com/store/apps/details?id=com.haarman.supertooltips
You could use android-formidable-validation's .betterSetError() feature, customising the ErrorPopup balloon's background drawable and the error exclamation mark icon that gets set as the drawableRight in the EditText. To fine tune to your requirements you'd need to play with the code that lays out the ErrorPopup.
This is the
QuickAction
UI pattern. Take a look at:QuickAction...
widgets such asQuickActionBar
,QuickActionGrid
etc