iPhone-在Android中像标签栏? [英] iPhone- like tab bar in Android?

查看:96
本文介绍了iPhone-在Android中像标签栏?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在iPhone,我们可以创建一个具有标签栏视图,并使其应用程序的根视图,然后使用标签栏,以浏览子的看法。

In iPhone we can create a view that has a tab bar and make it the root view of the application then use the tab bar to navigate through sub views.

什么是Android的最贴近的方式呢?

what is the most close approach to this in Android?

它是用一个标签式的控制?但是,这包括仅使用一种活性。

Is it to use a Tabbed Control? but this includes using just one activity.

什么是使用的Andr​​oid创建活动与导航控制等活动的方式类似于iPhone?

what is the approach to use in Android to create an activity with a navigation control to other activities in a way similar to that of the iPhone?

推荐答案

有一个教程有关Android开发网站创建标签布局:

There's a tutorial for creating a "Tab Layout" on the android dev site:

您可以实现您的选项卡的内容   以下两种方法之一:使用标签交换   在同一活动中的意见,或使用   标签之间完全改变   单独的活动

You can implement your tab content in one of two ways: use the tabs to swap Views within the same Activity, or use the tabs to change between entirely separate activities

这篇关于iPhone-在Android中像标签栏?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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