如何与QUOT;安装"操作栏福尔摩斯? [英] How to "install" Action Bar Sherlock?

查看:145
本文介绍了如何与QUOT;安装"操作栏福尔摩斯?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图构建样本项目操作栏病急乱投医使用操作栏福尔摩斯。

I'm trying to build the sample project "Action Bar Styled" using the Action Bar Sherlock.

我下载了包含.zip文件ABS这里 http://actionbarsherlock.com/ 但我无法揣摩出解压缩等等它将会出现在项目>属性>添加库。

I download the .zip file containing ABS here http://actionbarsherlock.com/ but I can't figure out where to unzip so that it will appear on Project>Properties>Add library.

有人可以给我一个忙吗?

Can someone give me an hand?

另外,我读的地方(找不到了,不好意思),目前的Andr​​oid兼容性库支持的操作栏在pre 3.0的版本,因此它具有基本相同的效果的操作栏福尔摩斯 - 有人可以证实这一点?我应该安装哪个库?

Also, I read somewhere (can't find it now, sorry) that the current Android Compatibility library supports the Action Bar in pre 3.0 versions, so it has basically the same "effect" as Action Bar Sherlock - can someone confirm this? Which library should I install?

推荐答案

没有听说过载动作条的兼容性库,我已经是最后一个前几天下载。 不管怎么说,这是非常简单的,解压缩到(!)您的工作区文件,然后创建新的Andr​​oid项目,并选择从现有源创建项目,然后选择在您刚才解压缩文件夹中的库文件夹中。

Didn't heard about Compatibility library that contains action bars, I've downloaded the last one few days ago. Anyway, it's very simple, unzip the file IN(!!) your workspace, then create new android project, and choose "Create project from existing source", then choose the "library" folder in the folders you've just unzipped.

右键点击操作栏夏洛特项目,属性>机器人>检查是图书馆。 然后右键点击你的项目,属性>机器人>更改目标SDK 3.2(API 13),和preSS添加库,并选择夏洛特库。

Right click on the action bar sherlock project, properties > android > check "Is Library". Then right click on your project, properties > android > change the target SDK to 3.2 (API 13), and press add library and choose the sherlock library.

您的项目更改到3.2这样的大侦探可以工作,但你仍然可以使用它下降到1.6,只写在你的清单这一行:

You change your project to 3.2 so the sherlock can work, but you can still use it down to 1.6, just write in your manifest this line:

<uses-sdk android:minSdkVersion="4"
              android:targetSdkVersion="13" />

和小心,不要使用API​​ 13 code。在您的应用程序。

And be careful not to use API 13 code in your app.

我写了这个真快,所以如果你不理解我随意问了,如果您还有不明白的,你可以看看他们的网络中常见问题有,解释如何使用它的视频,一步一步

I wrote this really fast so if you don't understand me feel free to ask, and if you still don't understand you can look at their web in FAQ there's a video that explains how to use it, step by step.

祝你好运!

这篇关于如何与QUOT;安装&QUOT;操作栏福尔摩斯?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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