<?xml version="1.0" encoding="utf-8"?>
|
<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
<data>
|
|
</data>
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent">
|
|
<androidx.appcompat.widget.AppCompatImageView
|
android:id="@+id/back"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginStart="@dimen/dp_20"
|
android:layout_marginTop="@dimen/dp_56"
|
android:src="@drawable/svg_back"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintTop_toTopOf="parent" />
|
|
<androidx.appcompat.widget.AppCompatTextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="服务条款"
|
android:textColor="@color/gray_10"
|
android:textSize="@dimen/sp_16"
|
android:textStyle="bold"
|
app:layout_constraintBottom_toBottomOf="@+id/back"
|
app:layout_constraintLeft_toLeftOf="parent"
|
app:layout_constraintRight_toRightOf="parent"
|
app:layout_constraintTop_toTopOf="@+id/back" />
|
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:orientation="vertical"
|
android:layout_marginTop="@dimen/dp_88"
|
android:layout_height="match_parent">
|
|
<com.google.android.material.tabs.TabLayout
|
android:id="@+id/tabLayout"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:background="@null"
|
app:layout_collapseMode="pin"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintTop_toBottomOf="@+id/title"
|
app:tabBackground="@null"
|
app:tabIndicatorColor="@color/blue_5"
|
app:tabIndicator="@drawable/layer_indicator_1"
|
app:tabIndicatorHeight="@dimen/dp_4"
|
app:tabGravity="fill"
|
app:tabIndicatorFullWidth="false"
|
app:tabMode="scrollable"
|
app:tabRippleColor="@null"
|
app:tabSelectedTextColor="@color/blue_5"
|
app:tabTextAppearance="@style/TabTextStyle14"
|
app:tabTextColor="@color/gray_7" />
|
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="1px"
|
android:background="@color/gray_4"/>
|
|
<WebView
|
android:id="@+id/web"
|
android:background="@color/white"
|
android:layout_marginHorizontal="@dimen/dp_20"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"/>
|
|
</LinearLayout>
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
</layout>
|