<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout 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="@color/black_trans">
<RelativeLayout
android:id="@+id/dialog_bg"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/transparent" />
<!--Body-->
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:background="@android:color/transparent"
android:orientation="vertical"
android:clickable="true">
<ImageView
android:id="@+id/dialog_close"
android:layout_width="30dp"
android:layout_height="30dp"
android:layout_gravity="right"
android:padding="7dp"
android:src="@mipmap/icon_close" />
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="308dp"
android:layout_height="wrap_content"
android:background="@android:color/white"
android:paddingLeft="15dp"
android:paddingTop="17.5dp"
android:paddingRight="15dp"
android:paddingBottom="30dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent">
<FrameLayout
android:id="@+id/dialog_web_icon_p"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="17.5dp"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent">
<ImageView
android:id="@+id/dialog_web_warning"
android:layout_width="75dp"
android:layout_height="75dp"
android:src="@mipmap/error_red"
android:visibility="gone" />
<com.github.chengang.library.TickView
android:id="@+id/dialog_web_duigou"
android:layout_width="75dp"
android:layout_height="75dp"
android:visibility="gone"
app:check_base_color="#07C160"
app:rate="fast" />
</FrameLayout>
<TextView
android:id="@+id/dialog_web_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="15dp"
android:text="提示"
android:textColor="#333333"
android:textSize="18sp"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toBottomOf="@+id/dialog_web_icon_p" />
<TextView
android:id="@+id/dialog_web_des"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="15dp"
android:text="描述"
android:textColor="#666666"
android:textSize="15sp"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toBottomOf="@+id/dialog_web_title" />
<Button
android:id="@+id/dialog_web_ok"
android:layout_width="match_parent"
android:layout_height="45dp"
android:layout_marginTop="20dp"
android:background="@drawable/dialog_web_btn"
android:text="确定"
android:textColor="#FFFFFF"
android:textSize="15sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toBottomOf="@+id/dialog_web_des" />
</androidx.constraintlayout.widget.ConstraintLayout>
</LinearLayout>
</RelativeLayout>
|