android - How to change action bar tab view height -
how customize action bar tab view have desired height..?
i want output action bar tabs
but getting output this
i using custom view on tabview setting custom view
how change height of tab view manually?
you can use actionbar.getheight()
height.
and set specific height can do:
first create new theme
<?xml version="1.0" encoding="utf-8"?> <resources> <style name="theme.fixedsize" parent="theme.sherlock.light.darkactionbar"> <item name="actionbarsize">48dip</item> <item name="android:actionbarsize">48dip</item> </style> </resources>
then set theme activity
android:theme="@style/theme.fixedsize"
update:
<style name="yourtheme" parent="@android:style/theme.holo"> <item name="android:actionbartabstyle">@style/tab_nav</item> <item name="android:actionbartabtextstyle">@style/tab_nav_text</item> <item name="android:actionbarsize">85dp</item> </style>
Comments
Post a Comment