如何建立在Android中布局选项卡视图 [英] How to create a TAB VIEW in Android Layout

查看:127
本文介绍了如何建立在Android中布局选项卡视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何创建一个TabView的,我已经通过其指定窗口小部件TabView的许多博客了被德preciated从LV 8,但我需要创建一个我附上下面的布局。任何人都可以指导我设计这样的布局,这样如果我点击每周这种观点应该被显示,并为今天按钮其他活动。

How to create a tabview, I have gone through many blogs in which they specify that tabview widget is depreciated from lv 8 but i need to create a layout which i have attached below. Can anyone guide me to design a layout like this, such that if i click on weekly this view should be displayed and another activity for today button.

推荐答案

有关实施 TabView的您可以使用动作条 。您可以探索这个 ActionBarSherLock 。下面是此 Android的合作与行动吧的例子。

For implementing TabView you can use ActionBar . You can explore this ActionBarSherLock. Here is the example of this Android Working with Action Bar.

这篇关于如何建立在Android中布局选项卡视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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