How to replace the three dots that appear in the Toolbar by an image.
Is that even possible?
The "three dots" you see is called the "overflow icon", which is a configurable part of android.support.v7.widget.Toolbar
.
In Java, call:
Drawable d = /* your drawable here */;
toolbar.setOverflowIcon(d);
Documentation here: https://developer.android.com/reference/android/support/v7/widget/Toolbar.html#setOverflowIcon(android.graphics.drawable.Drawable)
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