底部tabbar使用的 JPTabBar
activity中的布局
android:layout_width="match_parent"
android:layout_height="0dp"
android:id="@+id/viewPage"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toTopOf="@+id/line"
android:background="@color/colorAccent"/>
android:id="@+id/line"
android:layout_width="match_parent"
android:layout_height="0.5dp"
android:background="@color/line"
app:layout_constraintTop_toBottomOf="@id/viewPage"
app:layout_constraintBottom_toTopOf="@+id/tabbar"/>
android:id="@+id/tabbar"
android:layout_width="match_parent"
android:layout_height&