<?xml version="1.0" encoding="utf-8"?>
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
android:layout_width="match_parent"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
android:id="@+id/rl_container"
|
android:background="@color/l_transparent"
|
android:layout_height="match_parent">
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_centerInParent="true"
|
android:background="@drawable/bg_white_round_5"
|
android:orientation="vertical"
|
android:layout_marginStart="68dp"
|
android:id="@+id/cl"
|
android:layout_marginEnd="68dp">
|
|
<com.facebook.drawee.view.SimpleDraweeView
|
android:layout_width="match_parent"
|
android:layout_height="0dp"
|
android:id="@+id/iv_notice"
|
app:layout_constraintTop_toTopOf="parent"
|
app:roundedCornerRadius="5dp"
|
app:roundTopEnd="true"
|
app:roundTopStart="true"
|
app:roundBottomEnd="false"
|
app:placeholderImage="@color/page_bg"
|
app:roundBottomStart="false"
|
app:layout_constraintDimensionRatio="5:6"/>
|
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
app:layout_constraintTop_toBottomOf="@id/iv_notice"
|
android:id="@+id/tv_notice"
|
android:textSize="14sp"
|
android:textColor="@color/textColor"
|
android:paddingHorizontal="10dp"
|
android:paddingVertical="8dp"/>
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
<ImageView
|
android:id="@+id/iv_close"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_below="@id/cl"
|
android:layout_centerHorizontal="true"
|
android:layout_marginTop="10dp"
|
android:padding="10dp"
|
android:src="@mipmap/ic_dialog_close"/>
|
|
</RelativeLayout>
|