Taranfx
Taranfx

Reputation: 10437

How to change ActionBar height dynamically from fragment

I've one Activity with multiple fragments. Most links from Navigation bar replace the fragments through transactions. The material guidelines allow you to adjust height to make space for more buttons, text. How do I do adjust height of support ActionBar (not Toolbar) from fragment?

enter image description here

Upvotes: 5

Views: 872

Answers (1)

praj
praj

Reputation: 859

Change style.xml to

 <style name="AppTheme" parent="AppBaseTheme">
       <item name="android:actionBarSize">70dp</item>

</style>

Upvotes: -2

Related Questions