activity_user_agreement.xml 1.74 KB
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout 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:background="#F4F6F8">

    <View
        android:id="@+id/view_1"
        android:layout_width="match_parent"
        android:layout_height="44dp"
        android:background="@android:color/white"
        app:layout_constraintTop_toTopOf="parent" />

    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="用户协议"
        android:textColor="#333333"
        android:textSize="18dp"
        app:layout_constraintBottom_toBottomOf="@id/view_1"
        app:layout_constraintLeft_toLeftOf="@id/view_1"
        app:layout_constraintRight_toRightOf="@id/view_1"
        app:layout_constraintTop_toTopOf="@id/view_1" />

    <ImageView
        android:id="@+id/iv_back"
        android:layout_width="10dp"
        android:layout_height="16dp"
        android:layout_marginLeft="15dp"
        android:background="@mipmap/icon_back"
        app:layout_constraintBottom_toBottomOf="@id/view_1"
        app:layout_constraintLeft_toLeftOf="parent"
        app:layout_constraintTop_toTopOf="@id/view_1" />

    <View
        android:layout_width="match_parent"
        android:layout_height="1dp"
        android:background="#EEEEEE"
        app:layout_constraintTop_toBottomOf="@id/view_1" />

    <WebView
        android:id="@+id/web"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_marginTop="45dp" />


</androidx.constraintlayout.widget.ConstraintLayout>