如何使用动作条福尔摩斯? [英] How to use ActionBar sherlock ?

查看:130
本文介绍了如何使用动作条福尔摩斯?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的Andr​​oid应用程序如何使用动作条福尔摩斯?我已经尝试过的网站,但没有sucess。我希望有一个背景图像,中心的应用程序的名称,在动作条无图标我已经尝试的这code 并在此链接的例子,但林不理解如何设置在code类的文件和所有。我可以使用一些额外的帮助也这里是我的下载链接 https://www.dropbox.com /s/a8kwk1ao6ye56dr/Cydia.zip

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

推荐答案

下面是如何使用ActionBarSherlock:

Here is how to use ActionBarSherlock:

  1. 下载ActionBarSherlock 这里

假设你正在使用Eclipse IDE中,右键单击您的项目,单击属性,然后机器人。在底部,在布局,添加ActionBarSherlock。

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

确认ActionBarSherlock和你的项目是在同一目录下。

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

扩展你的类福尔摩斯命名。而不是活性,例如,将其更改为夏洛克活动。 ActionBarSherlock的主要文档发现这里

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

有关福尔摩斯的更容易使用,改变了福尔摩斯的名字,并修改它创建util的方法。

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

这篇关于如何使用动作条福尔摩斯?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆