在升级Froyo片段 [英] Fragments in Froyo

查看:141
本文介绍了在升级Froyo片段的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可以使用兼容包我使用2.2版本的Andr​​oid(升级Froyo)的片段?

Can i use Fragments in 2.2 version of the Android (Froyo) using the compatibility package ?

我想用两个嵌套的标签上哪些点击应显示在片段相关的内容。

I want to use two nested Tabs which on clicking should display related content in the Fragments.

推荐答案

看一看 ActionbarSherlock 。简短说明从他们的网站:

Have a look at ActionbarSherlock. Short description from their website:

ActionBarSherlock是旨在促进在Android的所有版本中使用的动作条设计模式与单一API兼容性库的扩展。

ActionBarSherlock is an extension of the compatibility library designed to facilitate the use of the action bar design pattern across all versions of Android with a single API.

用一只API,您可以使用所有3.0的东西在pre-3.0设备。 (它看起来相同且行为相同)

With one API you can use all that 3.0 stuff on pre-3.0 devices. (It looks the same and behaves the same)

这篇关于在升级Froyo片段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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