ICS像机器人的previous版本微调机器人、版本、ICS、previous

由网友(闻卿至)分享简介:我要微调看起来像在ICS中的Andr​​oid 2.2以上的所有previous版本。有没有你知道的任何项目或样品?我通过一个项目来 HoloEverywhere I want to the spinner to look like as in ICS in all the previous versions of...

我要微调看起来像在ICS中的Andr​​oid 2.2以上的所有previous版本。有没有你知道的任何项目或样品?我通过一个项目来 HoloEverywhere

I want to the spinner to look like as in ICS in all the previous versions of android above 2.2. Is there any project or samples you know ? I came through a project HoloEverywhere

但它包含了很多的变化,这让我的应用程序的规模巨大。所以,你知道,我可以使用任何简单的修改。自定义layut可以帮助我,但我怎么能得到ICS资源?

But it contains lot of change , which makes my application huge in size. So you know any simple changes that i can use. Custom layut can help me but how can i get the ICS resource ?

推荐答案

下载任何支持库,并在项目中包含构建路径

Download any support library and include in your project build path

然后,而不是微调 XML 使用类似

then instead of Spinner in the xml use something like

<com.name.internal.widget.IcsSpinner
....
/>

否则设计定制微调自己。但是,如果有很多事情你要喜欢ICS在一些较低级别的API,以实现更好的使用支持库做到这一点。

otherwise design a custom spinner yourself. But if there are many things you want like ICS to be implemented in some lower level API better do it using support libraries.

您可以在开发者网站获取相应的API的支持库:

You can get support libraries for respective APIs' at the developers site:

http://developer.android.com/tools/extras/support-library.html

或更好的,你从这里下载,其中还包括 ActionBarSherlock

or better you download it from here, which also includes ActionBarSherlock

http://actionbarsherlock.com/

阅读全文

相关推荐

最新文章