How To Create a Android App With ICS UI That Works With Gingerbread and Froyo?

雨燕双飞 提交于 2019-12-12 08:38:17

问题


How apps like Hacker News beta have use the Ice Cream Sandwich 4.0 UI on their app and at time work without any problems on 2.3 Gingerbread and 2.2 Froyo? I want to create apps that should work on 4.0 and have backward compatibility like that, but how to do it?


回答1:


Many apps also use ActionBar Sherlock to support the ActionBar UI. It's built on top of the Support Package that bobygerm mentioned.




回答2:


You have to use the Support Package and its support libraries (v4, V7, v13) - Android Developer.

Some APIs are not yet included in this support package, it may not cover everything that you use.




回答3:


You need to use the support library or only the visual UI, the resources available on Android ICS.

If you need only the resources, you can download the ICS sdk and copy the resources on

android-sdk-mac_86/platforms/android-15/data/res.

You can check this on this app:

Series Guide



来源:https://stackoverflow.com/questions/9886523/how-to-create-a-android-app-with-ics-ui-that-works-with-gingerbread-and-froyo

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!