<?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">
|
<include layout="@layout/layout_share_img"/>
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:background="@color/page_bg"/>
|
<com.facebook.drawee.view.SimpleDraweeView
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
app:layout_constraintTop_toTopOf="parent"
|
android:src="@mipmap/bg_share"
|
android:id="@+id/iv_share"
|
app:placeholderImageScaleType="fitXY"
|
app:actualImageScaleType="centerCrop"
|
app:placeholderImage="@mipmap/bg_share"/>
|
|
<TextView
|
android:id="@+id/tv_title"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="44dp"
|
android:text="推广活动"
|
android:textColor="@color/textColor"
|
android:textSize="16sp"
|
android:textStyle="bold"
|
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintTop_toTopOf="parent" />
|
|
<ImageView
|
android:id="@+id/iv_back"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginStart="4dp"
|
android:padding="10dp"
|
android:src="@mipmap/back"
|
app:layout_constraintBottom_toBottomOf="@id/tv_title"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintTop_toTopOf="@id/tv_title" />
|
<TextView
|
android:id="@+id/tv_1"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text=""
|
android:textSize="35sp"
|
app:layout_constraintTop_toBottomOf="@id/tv_title"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
android:layout_marginTop="50dp"
|
android:fontFamily="@font/fly_flower_song"
|
android:textStyle="bold"
|
android:textColor="@color/textGreen" />
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text=""
|
android:textSize="9sp"
|
app:layout_constraintTop_toBottomOf="@id/tv_1"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
android:fontFamily="@font/fly_flower_song"
|
android:textColor="@color/textGreen" />
|
<com.facebook.drawee.view.SimpleDraweeView
|
android:id="@+id/iv_code"
|
android:layout_width="150dp"
|
android:layout_height="150dp"
|
app:layout_constraintTop_toBottomOf="@id/tv_1"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
android:layout_gravity="center"
|
app:roundedCornerRadius="10dp"
|
android:layout_marginTop="50dp"
|
app:actualImageScaleType="centerCrop"
|
app:roundingBorderColor="@color/white"
|
app:placeholderImage="@color/page_bg"
|
app:roundingBorderWidth="10dp"/>
|
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="42dp"
|
android:id="@+id/tv_action"
|
app:layout_constraintTop_toBottomOf="@id/iv_code"
|
android:layout_marginTop="23dp"
|
android:text="分享给好友"
|
android:textColor="@color/white"
|
android:textSize="14sp"
|
android:textStyle="bold"
|
android:gravity="center"
|
android:layout_marginHorizontal="52dp"
|
android:background="@drawable/bg_green_20dp"/>
|
<LinearLayout
|
android:orientation="vertical"
|
app:layout_constraintTop_toBottomOf="@id/tv_action"
|
app:layout_constraintBottom_toBottomOf="parent"
|
android:layout_marginHorizontal="20dp"
|
android:layout_marginTop="20dp"
|
android:background="@drawable/bg_gradient_vertical"
|
android:layout_width="match_parent"
|
android:layout_height="0dp">
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="分佣规则说明"
|
android:textColor="@color/textColor"
|
android:textStyle="bold"
|
android:textSize="15sp"
|
android:layout_gravity="center"
|
android:layout_marginTop="25dp"/>
|
<WebView
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:layout_marginTop="15dp"
|
android:background="@color/white"
|
android:id="@+id/webView"/>
|
</LinearLayout>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|