Is that possible to define a text which to be shown in ActionBar along with icon?
Is that a text or just an image?
Add Action Buttons To add actions to the action bar, create a new XML file in your project's res/menu/ directory. The app:showAsAction attribute specifies whether the action should be shown as a button on the app bar.
Use android:showAsAction="ifRoom|withText"
to show the menu title along with the icon.
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