I'd like to change the toolbar height, but I searched everywhere in my app, can only found a menu XML which contains items.
I am a beginner. I've refer to other questions, they have a XML like below:
<android.support.v7.widget.Toolbar xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/toolbarTitle"
android:orientation="vertical"
I confirmed no such widget in my app, but my app did show the toolbar with menu. How can I get the toolbar XML layout, then I will look for how to change its height.
In your values/styles.xml file change this:
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
To use a NoActionBar parent theme like this:
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
Then you will be able to use your own Toolbar in xml files.