4

How do I use actionbar sherlock in my android application? i have tried the website but had no sucess.. I want to have a background image,center the app name "no icon in the actionbar" I have tried this code and the example in this link but im not understanding how to setup the code like the files and all. I could use some extra help also here is my download link https://www.dropbox.com/s/a8kwk1ao6ye56dr/Cydia.zip

Kailas
  • 7,350
  • 3
  • 47
  • 63
Jacob Anthony Tonna
  • 515
  • 3
  • 13
  • 27

3 Answers3

5

Here is how to use ActionBarSherlock:

  1. Download the ActionBarSherlock here.

  2. Assuming you're using Eclipse IDE, right click your Project, click Properties, then Android. At the bottom, in Layout, Add ActionBarSherlock.

  3. Make sure ActionBarSherlock and your Project are in the same directory.

  4. Extend your classes to Sherlock naming. For example, instead of Activity, change it to Sherlock Activity. The main documentation of ActionBarSherlock is found here.

  5. For easier usage of Sherlock, create util methods in changing the Sherlock names and modifying it.

princepiero
  • 1,287
  • 3
  • 15
  • 28
1

Can you explain more briefly what do you want to do?

for centering the app name, you could use this answer:

Set Title gravity to center in ActionBarSherlock

Community
  • 1
  • 1
Ahmed Ekri
  • 4,601
  • 3
  • 23
  • 42
  • i dont know like how to setup actionbar sherlock. i havent done it ever and im new to android programming so sorry for the noobish question i posted a link to my .zip hoping some one can download it and edit it for me.. – Jacob Anthony Tonna May 27 '13 at 19:02
1

Analyze these samples slowly and carefully and everything will be okay :)

These samples cover how to use ActionBarSherlock in your project.

princepiero
  • 1,287
  • 3
  • 15
  • 28
mmBs
  • 8,421
  • 6
  • 38
  • 46