<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <com.qmuiteam.qmui.widget.QMUITopBarLayout android:id="@+id/personTopLayout" android:layout_width="match_parent" android:layout_height="wrap_content" android:fitsSystemWindows="true" /> <LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <com.google.android.material.tabs.TabLayout android:id="@+id/personTabLayout" android:layout_width="match_parent" android:layout_height="wrap_content" app:tabIndicatorColor="@color/mainThemeColor" app:tabIndicatorHeight="3dp" app:tabSelectedTextColor="@color/mainThemeColor" app:tabTextColor="@color/textColor" /> <include layout="@layout/line" /> <com.casic.dcms.widgets.NoScrollViewPager android:id="@+id/personViewPager" android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="1" /> </LinearLayout> </LinearLayout>