全国免费服务热线:

18982081108
✕

成都网站维护公司,网站安全维护,网站SEO优化,网站内容运营

Android使用RadioGroup实现底部导航栏-创新互联

RadioGroup实现底部导航栏效果,如图::

江口网站建设公司创新互联公司,江口网站设计制作,有大型网站制作公司丰富经验。已为江口近1000家提供企业网站建设服务。企业网站搭建\外贸网站建设要多少钱,请找那个售后服务好的江口做网站的公司定做!

实现可最基本的导航栏功能,不能左右滑动,只能点击

1.内嵌的fragment的布局:

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
 android:orientation="vertical" android:layout_width="match_parent"
 android:layout_height="match_parent">
 <TextView
 android:layout_width="match_parent"
 android:layout_height="match_parent"
 android:gravity="center"
 android:textSize="50sp"
 android:textColor="@color/colorPrimary"
 android:text="home"/>
</LinearLayout>