Change Height of Android ActionBar

To change the Height of Android ActionBar,

1. Go to style.xml under values folder.


    <!-- Base application theme. -->
    <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">

        <!-- set the height of Action Bar . -->
        <item name="actionBarSize">36dip</item>



2. Now, add <item name="actionBarSize">36dip</item>

3. Go to AndroidManifest.xml and within <application> check that android:theme is set as name-value in style tag ( AppTheme in my case)

Change Height of Android ActionBar.png
Change Height of Android ActionBar.png
Try Out Code2care Dev Tools:


Code2care is an initiative to publish and share varied knowledge in programming and technical areas gathered during day-to-day learnings and development activities.

Students and software developers can leverage this portal to find solutions to their various queries without re-inventing the wheel by referring to our easy to understand posts. Technical posts might include learnings, tutorials, trouble-shooting steps, video tutorials, code snippets, how-to, blogs, articles, etc.

🎉 We are celebrating the 10th years of Code2care! Thank you for all your support!

We strongly support Gender Equality & Diversity.