문제

I'm stuck at a very ridiculous thing. I want to remove the divider below the action bar shown in the picture. how can I do it?

P.S: I want to use my app for API level 8 too

enter image description here

도움이 되었습니까?

해결책

There's a great tool you can use for generating an ActionBarSherlock compatible Theme. Go to the following link and initialize it with the following settings:

  • Style compatibility: Sherlock
  • Base theme: Dark
  • ActionBar style: Solid

This will remove the line below the ActionBar and allow you to choose a solid color for the ActionBar itself. If you simply wanted to change the color of that line, you can set the ActionBar style to Transparent and change the Accent color (this is the color chosen for that line)

http://jgilfelt.github.com/android-actionbarstylegenerator/

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top