I have never used the ActionBarSherlock
library (I have used Greendroid in the past, but now I use ActionBarCompat for pre-honeycomb devices, which is great and very easy to use.).
That being said, I suggest you to look a the res/values
folder where you will probably find all the default styles (probably wrapped in a custom theme which extends the default android theme). From there, you just have to extend that Sherlock theme and override the styles with your own.
If you want a good tutorial on how styles and themes work in Android, I suggest you to read the official documentation.
Edit
In order to use ActionBarCompat
you have to do the following:
- Import the project from the samples directory (inside the directory where the android SDK is installed). (Note that you should download the latest SDK).
- Remove
MainActivity
from the build path (right click on the class -> Build Path -> Exclude).
- Set the project as a project library (right click on the project -> properties -> android -> check Is Library).
- Add this project as a library for your app (right click on the project -> properties -> android -> click on Add in the Library section).
- Make your activities inherits from
ActionBarActivity
.
- Set the theme as
@style/appTheme
in the manifest.
Finally, don't forget that the action bar actions are in the res/menu/main.xml
file. And same thing for the colors and styles, look at the res/values
directory.