Icon buttons are commonly used in the AppBar. Next, click on the O button next to the icon field. ![]() Run the app, and you will be able to see the toolbar with app name and the back arrow icon. An icon button is a picture printed on a Material widget that reacts to touches by filling with color (ink). Then, choose both ifRoom and withText for the showAsAction option.tNavigationIcon(R.drawable.ic_arrow_back_white_24dp) Key classes With text, using the Button class:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |