<?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">
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
app:layout_constraintTop_toTopOf="parent"
|
android:orientation="vertical"
|
android:layout_marginHorizontal="24dp"
|
android:gravity="center"
|
android:background="@drawable/bg_white_10dp">
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="兑换成功"
|
android:textStyle="bold"
|
android:textSize="18sp"
|
android:layout_marginTop="17dp"
|
android:textColor="@color/textColor"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="40dp"
|
android:id="@+id/tv_code"
|
android:gravity="center"
|
android:layout_marginTop="15dp"
|
android:paddingHorizontal="30dp"
|
android:textColor="@color/textGreen"
|
android:textSize="14sp"
|
android:textStyle="bold"
|
android:background="@drawable/bg_green_4_alpha"
|
android:text="领取验证码:333221"/>
|
|
<com.facebook.drawee.view.SimpleDraweeView
|
android:id="@+id/iv_code"
|
android:layout_width="230dp"
|
android:layout_height="230dp"
|
android:layout_gravity="center"
|
android:layout_marginTop="10dp"
|
app:actualImageScaleType="centerInside"
|
app:roundingBorderColor="@color/white"
|
app:placeholderImage="@color/page_bg"
|
app:roundingBorderWidth="10dp"/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="可添加助教微信,了解课程详情"
|
android:layout_gravity="center"
|
android:layout_marginTop="13dp"
|
android:textColor="@color/textColor66"
|
android:textSize="14sp"/>
|
<TextView
|
android:id="@+id/tv_action"
|
android:layout_width="match_parent"
|
android:layout_height="40dp"
|
android:layout_marginTop="24dp"
|
android:layout_marginHorizontal="38dp"
|
style="@style/style_btn_action"
|
android:text="知道了"
|
android:layout_marginBottom="24dp"/>
|
</LinearLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|