<?xml version="1.0" encoding="utf-8"?>
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
android:background="@color/page_bg">
|
<com.sinata.xqmuse.views.SlidingTabLayout
|
android:layout_width="match_parent"
|
android:layout_height="45dp"
|
app:layout_constraintTop_toTopOf="parent"
|
android:id="@+id/tab_bar"
|
app:tl_textSelectColor="@color/black"
|
app:tl_textUnselectColor="@color/textColor99"
|
app:tl_indicator_corner_radius="3dp"
|
app:tl_indicator_width="29dp"
|
app:tl_indicator_margin_bottom="10dp"
|
app:tl_indicator_height="6dp"
|
app:tl_tab_space_equal="true"/>
|
<androidx.viewpager.widget.ViewPager
|
android:id="@+id/view_pager"
|
android:layout_width="match_parent"
|
android:layout_height="0dp"
|
app:layout_constraintTop_toBottomOf="@id/tab_bar"
|
app:layout_constraintBottom_toBottomOf="parent"/>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|