<com.hjm.bottomtabbar.BottomTabBar
android:id="@+id/botb"
android:layout_width="match_parent"
android:layout_height="match_parent"></com.hjm.bottomtabbar.BottomTabBar>
视图使用
BottomTabBar botb = findViewById(R.id.botb);
botb.init(getSupportFragmentManager());
botb.setChangeColor(Color.RED,Color.DKGRAY);
botb.setFontSize(8);
botb.setImgSize(50,50);
botb.setTabPadding(4,6,10);