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

Popular posts from this blog

React Js + React-Redux (part-2)

React Js + CSS Styling + React Router (part-1)

ViteJS (Module Bundlers, Build Tools)