<?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="45dp"
|
app:layout_constraintTop_toTopOf="parent"
|
app:tl_textBold="BOTH"
|
app:tl_textSelectColor="@color/black"
|
app:tl_textUnselectColor="@color/textColor66"
|
app:tl_indicator_color="@color/colorPrimary"
|
app:tl_indicator_corner_radius="2dp"
|
app:tl_indicator_height="3dp"
|
app:tl_indicator_width="56dp"
|
app:tl_textsize="16sp"
|
app:tl_tab_space_equal="true"
|
android:id="@+id/tab_top"/>
|
<androidx.viewpager.widget.ViewPager
|
android:layout_width="match_parent"
|
android:layout_height="0dp"
|
android:id="@+id/view_pager"
|
app:layout_constraintTop_toBottomOf="@id/tab_top"
|
app:layout_constraintBottom_toBottomOf="parent" />
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="4dp"
|
android:background="@drawable/bg_shadow_top"
|
app:layout_constraintTop_toBottomOf="@id/tab_top"/>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:id="@+id/iv_button"
|
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
android:src="@mipmap/kefu"
|
android:visibility="gone"
|
android:layout_marginBottom="150dp"
|
android:layout_marginEnd="10dp"/>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|