How to use ActionBar sherlock?

How can I use sherlock for taskbar in android app? I tried the website but had no success. I want to have a background image, in the center of the application name is "no icon in the action bar" I tried this code and an example in this link , but I don’t understand how to configure the code as files and that's it. I could use some additional help also here, my download link is https://www.dropbox.com/s/a8kwk1ao6ye56dr/Cydia.zip

+4
source share
3 answers

Here's how to use ActionBarSherlock:

  • Download ActionBarSherlock here .

  • Assuming you are using the Eclipse IDE, right-click your project, select Properties, then Android. At the bottom of the layout, add an ActionBarSherlock.

  • Make sure that ActionBarSherlock and your project are in the same directory.

  • Extend your classes to naming Sherlock. For example, instead of Activity, change it to Sherlock’s activity. The main ActionBarSherlock documentation is here .

  • For easier use of Sherlock, create usage methods when changing Sherlock’s names and change it.

+5
source

Can you explain in more detail what you want to do?

to center the name of the application you can use this answer:

Set title gravity to ActionBarSherlock

+1
source

Analyze these samples slowly and carefully, and everything will be fine :)

These examples describe the use of ActionBarSherlock in your project.

+1
source

Source: https://habr.com/ru/post/1483014/


All Articles