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
Copyright © Code2care 2024 | Privacy Policy | About Us | Contact Us | Sitemap