Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8727495
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T08:26:40+00:00 2026-06-13T08:26:40+00:00

I am using ActionBarShrelock to provide Action Bars for pre honeycomb devices. I have

  • 0

I am using ActionBarShrelock to provide Action Bars for pre honeycomb devices.
I have following code in my themes.xml file…

 <style name="My.Tab.Style" parent="@android:style/Widget.TabWidget">
        <item name="android:textAppearance">@style/MyCustomTabTextStyle</item>
    </style>

   <style name="MyCustomTabTextStyle" parent="Widget.Sherlock.ActionBar.TabText">
        <item name="android:textAppearance">@android:style/TextAppearance.Medium</item>
        <item name="android:textSize">14sp</item>
        <item name="android:textStyle">bold</item>
        <item name="android:textColor">@color/tabbar_text_color</item>
    </style>

Than I use this it as

<item name="android:actionBarTabTextStyle">@style/My.Tab.Style</item>
<item name="actionBarTabTextStyle">@style/My.Tab.Style</item>

Can any one explain why I am getting some shadow on the last letters of Tab ? How can I get rid of that ? plz help.. I have tried everything but that shadow is always there..

enter image description here

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T08:26:41+00:00Added an answer on June 13, 2026 at 8:26 am

    I solved the problem using a custom style.

    1. First I created a custom style

      <style name="My.TabText.Style" parent="@style/Widget.Sherlock.ActionBar.TabText">       
          <item name="android:textAppearance">@android:style/TextAppearance.Medium</item>
          <item name="android:textSize">16sp</item>
          <item name="android:textStyle">bold</item>
          <item name="android:textColor">@color/tabbar_text_color</item>
          <item name="android:textAllCaps">false</item>
          <!-- <item name="android:ellipsize">none</item> --> 
          <item name="android:maxLines">1</item>
      </style>
      
    2. Than i used that style in my Theme

      <item name="actionBarTabTextStyle">@style/My.TabText.Style</item>
      <item name="android:actionBarTabTextStyle">@style/My.TabText.Style</item>
      
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using ActionBarSherlock to provide ActionBars for pre HoneyComb devices. My Activity has
I am using ActionBarSherlock Library. In a simple layout i have this code: <?xml
I'm adding navigation tabs to an action bar using the sample code provided here:
I'm using ActionBarSherlock and customized style for it: <?xml version=1.0 encoding=utf-8?> <LinearLayout xmlns:android=http://schemas.android.com/apk/res/android android:layout_width=match_parent
I am using actionbarsherlock library to have action-bar in my application, I am also
Using TortoiseSVN against VisualSVN I delete a source file that I should not have
I am using ActionBarSherlock and have implemented ShareActionProvider . When a user selects an
I'm using ActionBarSherlock and have a little problem. In the Fragment Tabs example, there
I'm developping an application using ActionBarSherlock component. My goal is to target all devices
I have a question regarding the concept of contextual action bar. The Android Design

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.