How to Hide Toolbar ActionBar Android Java

To hide the toolbar or ActionBar in Java, use the below code


To show the toolbar or ActionBar, use this


Remember to use appropriate themes, or it might show Runtime errors.

, ,

Post navigation

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.