Marta Rodriguez Marta Rodriguez - 1 year ago 235
Android Question

Material "close" button in Toolbar instead of Back

I have seen in Google's Inbox App, composing a new email, in the toolbar instead of the back button (an arrow) it has a "close" button (see picture).

How can I achieve this?

inbox compose close button

Answer Source




to acheive this.

You can create your own close icon or get from material design icon set on github. Also add this to make close function as back arrow.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download