android - Change Actionbar Tabs Height -


I am trying to change the height of the tab under the action bar in Android. I have searched a lot for this and have tried many solutions such as applying the theme to the manifest and many more. Below is one of the few topics I have implemented, but there is no success.

  & lt; Style name = "custom actionben theme" original = "@ Android: Style / Theme. Hollow" & gt; & Lt; Item name = "Android: ActionBarbaby Style" & gt; @ Style / actionbarabet style & lt; / Item & gt; & Lt; Item name = "android: scrollHorizontally" & gt; Wrong & lt; / Item & gt; & Lt; Item name = "android: paddingleft" & gt; 0dp & lt; / Item & gt; & Lt; Item name = "Android: padding right" & gt; 0dp & lt; / Item & gt; & Lt; Item name = "Android: Actionbirds" & gt; 80dp & lt; / Item & gt; & Lt; Item name = "Actionbirds" & gt; 80dp & lt; / Item & gt; & Lt; / Style & gt;  

And I have also tried:

   

I want to add an icon and text below the icon, please help me solve it.

Thanks in advance.

It looks like tab height actionbar Is equal to the height of. Try changing the height of tab to 200dp to 80dp or ActionBar to 80 DP to 200dp . Although this may not be your expected answer.

  & lt ;! - Start Theme Custom Action Bar Theme - & gt; & Lt; Style name = "lectional theme" guardian = "@ style / theme.AppCompat.Light.DarkActionBar" & gt; & Lt; Item name = "android: actionBarStyle" & gt; @ Style / myactionbar & lt; / Item & gt; & Lt; Item name = "Android: ActionBarbaby Style" & gt; @ Style / MyActionBarTab & lt; / Item & gt; & Lt; Item name = "android: actionBarTabTextStyle" gt; @ Style / MyActionBarTabText & lt; / Item & gt; & Lt; Item name = "Android: Actionbirds" & gt; 60dp & lt; / Item & gt; & Lt ;! - Support library compatibility - & gt; & Lt; Item name = "Action bell style" & gt; @ Style / myactionbar & lt; / Item & gt; & Lt; Item name = "Actionbar tab style" & gt; @ Style / MyActionBarTab & lt; / Item & gt; & Lt; Item name = "actionbar tabstest style" & gt; @Style / MyActionBartTabStacks & lt; / Item & gt; & Lt; Item name = "Actionbirds" & gt; 60dp & lt; / Item & gt; & Lt; / Style & gt; & Lt ;! - Actionbart Style - & gt; & Lt; Style name = "MyActionBarTab" original = "@ style / widget. AppCompat.ActionBar.TabView" & gt; & Lt; Item name = "Android: height" & gt; 60dp & lt; / Item & gt; & Lt; / Style & gt;  

Comments

Popular posts from this blog

eclipse plugin - Run java code error: Workspace is closed -

ios - How do I use CFArrayRef in Swift? -

scala - Play Framework - how to bind form to a session field -