Answer the question
In order to leave comments, you need to log in
Toolbar and ActionBar material design?
Can you please tell me why my ActionBar is not displayed?
I want to make it colorPrimaryDark.
And the Toolbar is very small in size, I don't want to expand it with dp, because when I expand it, the inscription and the Drawer remain at the top ...
Now like this.
I want it to be like this
activity_main.xml
styles.xml
MainActyvity.java
Answer the question
In order to leave comments, you need to log in
I don’t see screenshots of the code, who generally publishes the code with screenshots, but on the screenshot of the screen itself I see the standard Toolbar, in it the title and ActionBarDrawerToggle should be vertically centered, if you get some markup defect on top, compare with the "original" , such as the one created in Android Studio when a Navigation View Activity is created.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question