Android Toolbar
1) Remove the Actionbar from the Styles source as shwon in image 1
2) Create a Toolbar view in the layout
3) in the Java main activity code get the reference to the toolbar and set as the default Actionbar
Also add these 2 lines in your style file :
<item name="windowActionBar">false</item>
<item name="windowNoTitle">true</item>



Comments
Post a Comment