Android: Tabs at the bottom with FragmentTabHost
2013-12-21 00:38
295 查看
<?xml version="1.0" encoding="utf-8"?> <android.support.v4.app.FragmentTabHost xmlns:android="http://schemas.android.com/apk/res/android" android:id="@android:id/tabhost" android:layout_width="fill_parent" android:layout_height="fill_parent"> <LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"> <FrameLayout android:id="@android:id/tabcontent" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1" /> <TabWidget android:id="@android:id/tabs" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="0"/> </LinearLayout> </android.support.v4.app.FragmentTabHost>
相关文章推荐
- 常用的Android虚拟机的快捷键
- 深度解读Android手机短信木马产业链-小伙伴们都惊呆了!
- android 界面添加返回一栏
- Android布局控件属性
- 在Android中包含四个与JSON相关的类和一个Exceptions
- Android里面多媒体的应用(简单的播放音乐和视频)
- android 最新源码按模块下载
- Android下C++代码调用汇编函数
- VLC for Android源码下载和编译
- Android Bander设计与实现 - 设计篇
- Androi NDK生成 找不到对应的C的函数异常
- Android中搜索功能的添加
- android:inputType参数类型说明
- android:inputType参数类型说明
- 以Android环境为例的多线程学习笔记(三)-----------阻塞队列
- Android 开发之旅:view的几种布局方式及实践
- android权限代码分析(二)
- android 30月入门到精通(3) 控件
- Android使用SAX解析XML(4)
- (转)Android中通过Intent 调用图片、视频、音频、录音、拍照