Launch Your First Android app with our TOP course at 82% OFF (24 hrs ONLY) HERE goo.gl/7veBXc
"Learn How To Design + Code A Complete App From Scratch To Playstore"
This Android Tutorial shows you an example of ToolBar in Android by letting you specify the ToolBar as the default ActionBar or App Bar inside your app using the setSupportActionBar method inside your Activity. You need to use a Theme.AppCompat.NoActionBar or Theme.AppCompat.Light.NoActionBar to prevent the default action bar from displaying. Create a separate layout file called app_bar.xml to include the android.support.widget.v7.ToolBar inside the file and use the <include> to add the ToolBar to your activity_main.xml