0
I am using Sherlock library for action tab bar. I have implemented custom action bar tab.
I want to hide package name from action bar.

I have marked by red color in posted screen shot

在此处输入图像描述

4

2 回答 2

3

你的意思是setDisplayShowTitleEnabled(false)

于 2013-11-06T08:47:07.687 回答
0

使用这种风格:

<style name="Theme.Main" parent="Theme.Sherlock.Light">
        <item name="windowActionModeOverlay">false</item>
        <item name="android:windowFullscreen">false</item>
        <item name="actionBarStyle">@style/Widget.Styled.ActionBar</item>
        <item name="android:actionBarStyle">@style/Widget.Styled.ActionBar</item>
        <item name="actionButtonStyle">@style/ActionButtonStyle</item>
        <item name="android:actionButtonStyle">@style/ActionButtonStyle</item>
        <!-- the action bar dropdown menu item -->
        <item name="actionBarTabStyle">@style/actionBarTabStyle</item>
        <item name="android:actionBarTabStyle">@style/actionBarTabStyle</item>
        <item name="android:popupMenuStyle">@style/PopupMenu.Example</item>
        <item name="popupMenuStyle">@style/PopupMenu.Example</item>


        <item name="dropDownListViewStyle">@style/DropDownListView.Example1</item>
        <item name="android:actionModeCloseButtonStyle">@style/ActionButton.CloseMode.Example1</item>
    </style>
于 2013-11-06T08:42:10.387 回答