摘要:
在写东西的时候经常会用到分页,这个是用TabHost来写,首先是layout文件的写法,这个比较固定,特别注意的是id,用系统的id,页面是基本固定下来的,代码如下<?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="fil 阅读全文