In Many Android apps you can press and hold a button and a small text appears with information about the button, for example in reddit: [1]: https://i.stack.imgur.com/wdgtG.jpg
Does anyone know how to do this in Android Studio?
In Many Android apps you can press and hold a button and a small text appears with information about the button, for example in reddit: [1]: https://i.stack.imgur.com/wdgtG.jpg
Does anyone know how to do this in Android Studio?
https://developer.android.com/guide/topics/ui/tooltips
A tooltip is a small descriptive message that appears near a view when users long press the view or hover their mouse over it. This is useful when your app uses an icon to represent an action or piece of information to save space in the layout. This page shows you how to add these tooltips on Android 8.0 (API level 26) and higher.
FloatingActionButton fab = (FloatingActionButton) findViewById(R.id.fab);
fab.setTooltipText("Send an email");