Here is a simple XML menu file in which help to add icontext and checkbox in your toolbar menu in your android application.

Hope this will help you 🙂