lmw
2025-04-24 718f31c92e2029d05260810435a2c70cef6e6ce5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?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">
    <com.flyco.tablayout.SlidingTabLayout
        android:layout_width="match_parent"
        android:layout_height="42dp"
        app:layout_constraintTop_toTopOf="parent"
        android:id="@+id/tab_bar"
        app:tl_textSelectColor="@color/textGreen"
        app:tl_indicator_color="@color/textGreen"
        app:tl_indicator_corner_radius="2dp"
        app:tl_tab_space_equal="true"
        app:tl_indicator_height="2dp"
        app:tl_indicator_width="12dp"
        app:tl_textUnselectColor="@color/textColor66" />
    <androidx.viewpager.widget.ViewPager
        android:id="@+id/view_pager"
        android:layout_width="match_parent"
        android:layout_height="0dp"
        android:layout_marginTop="4dp"
        app:layout_constraintTop_toBottomOf="@id/tab_bar"
        app:layout_constraintBottom_toBottomOf="parent"/>
    <View
        android:layout_width="match_parent"
        android:layout_height="1dp"
        android:layout_marginTop="4dp"
        android:background="@color/dividing_line_color"
        app:layout_constraintTop_toBottomOf="@id/tab_bar"/>
</androidx.constraintlayout.widget.ConstraintLayout>