Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to turn off blue line under ActionBar (ActionBarSherlock)?

I use ActionBarSherlock with theme Theme.Sherlock.ForceOverflow (for using on pre Honeycomb devices) and I need turn off blue line under my ActionBar....is it possible?

SOLUTION: here

like image 994
west44 Avatar asked Jul 17 '12 14:07

west44


2 Answers

Another way to solve the problem:

actionBar.setBackgroundDrawable(null);

Only solves the problem locally though.

like image 149
user1981716 Avatar answered Oct 23 '22 10:10

user1981716


I'm not sure if you can remove the bar but you could change the colour of the bar to match that of the background colour?

If you want to try it try this:

<item name="android:background">@drawable/your_theme_name</item>
<item name="background">@drawable/your_theme_name</item>
like image 8
James Blackburn Avatar answered Oct 23 '22 12:10

James Blackburn