Android(安卓)TabWidget
16lz
2021-01-26
先做个记录,回头分析。下面xml文件实现了TabWidget位于底部。
<?xml version="1.0" encoding="utf-8"?>
<TabHost 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:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<FrameLayout
android:id="@android :id/tabcontent"
android:layout_width="fill_parent"
android:layout_height="0dp"
android:layout_weight="1" />
<TabWidget
android:id="@android :id/tabs"
android:layout_width="fill_parent"
android:layout_height="wrap_content" />
</LinearLayout>
</TabHost>
更多相关文章
- Android(安卓)搜索框自动提示及其保存历史记录
- mtk android settings
- Bitmap转为文件保存
- android apk的更新下载
- Android学习之使用HttpURLConnection下载文件
- android 文件的压缩和解压
- 83 Android(安卓)Handler ProgressBar 进度条
- Android文件操作放到listview中
- Android(安卓)APK下载安装(自动更新)