Is there any common way to add a label to any clickable View to show what it does? For example if I long press a gear button I want the user see a label "Options". Something like this in WhatsApp
CodePudding user response:
Add this to your corresponding view
android:tooltipText="Sample Text"
CodePudding user response:
Those are called Tooltips. You an read more about them here: https://developer.android.com/guide/topics/ui/tooltips

