如何设计出ONSELECT是在一个tabhost中心选项卡 [英] how to design tab which onselect comes in center of a tabhost

查看:162
本文介绍了如何设计出ONSELECT是在一个tabhost中心选项卡的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只是在布局设计中遇到的问题与tabhost

I just encountered a problem in layout design with tabhost.

我需要完全一样的设计,使上选择一个标签它会在cented屏幕。与设计像这些图片。

i need exactly the same design so that on selecting a tab it will come in cented of the screen. with design like in these pictures.

推荐答案

目前 ViewPagerIndicator 是收到这个没有太多code做了最好的资源。对于相同的设计你将不得不做一些工作,自己弄完。如果你看看通过这些项目的样本Github上,你会看到一些例子如何使用 ViewPagerIndicator 可主题。

Currently ViewPagerIndicator is the best resource for getting this done without too much code. As for the same design you're going to have to do a little work yourself to get that done. If you look through the samples on the projects github you'll see some examples of how the ViewPagerIndicator can be themed.

http://viewpagerindicator.com/

这篇关于如何设计出ONSELECT是在一个tabhost中心选项卡的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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