android基础控件(1)TabHost实现选项卡
android基础控件(2)TabLayout+ViewPager实现选项卡
android基础控件(3)BottomNavigationView+FragmentLayout实现底层导航栏
android基础控件(4)GridView实现网格视图
android基础控件(5)Spinner实现下列列表框
android基础控件(6)Chronometer实现计时器
TabHost+TabWidget+FragmentLayout
1.1 主布局main_layout
<TabHost
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@android:id/tabhost"> 自带布局
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<TabWidget
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="