安卓:在标签与FragmentTabHost底部 [英] Android: Tabs at the bottom with FragmentTabHost

查看:117
本文介绍了安卓:在标签与FragmentTabHost底部的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图把FragmentTabHost在屏幕的底部。很久以前,我是能够做到这一点与普通TabHost(以下这个线程)但现在这不是为我工作。

I'm trying to put a FragmentTabHost at the bottom of the screen. Time ago, I was able to do that with regular TabHost (following this thread), but now this is not working for me.

有没有办法做到这一点?

Is there a way to do that?

谢谢!

推荐答案

最后,我跟着这个教程:的 Android的标签与片段

Finally I followed this tutorial: Android Tabs with Fragments

我放弃了FragmentTabHost,这是比较容易(恕我直言)来实现,而我能够把tabWidget底部没有努力。

I gave up with FragmentTabHost, this is easier (imho) to implement, and I was able to put the tabWidget on the bottom with no effort.

这篇关于安卓:在标签与FragmentTabHost底部的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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