How to use ActionBar sherlock ?

后端 未结 3 1100
小蘑菇
小蘑菇 2021-02-10 21:12

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 ac

相关标签:
3条回答
  • 2021-02-10 21:25

    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.

    0 讨论(0)
  • 2021-02-10 21:40

    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

    0 讨论(0)
  • 2021-02-10 21:40

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

    These samples cover how to use ActionBarSherlock in your project.

    0 讨论(0)
提交回复
热议问题