|
|
@@ -0,0 +1,69 @@
|
|
|
+<?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"
|
|
|
+ xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
+ android:background="@color/transparent"
|
|
|
+ android:layout_height="match_parent">
|
|
|
+ <com.coorchice.library.SuperTextView
|
|
|
+ android:id="@+id/dialog_update_bg"
|
|
|
+ android:layout_width="@dimen/dp_0"
|
|
|
+ android:background="@color/white"
|
|
|
+ android:layout_height="@dimen/dp_0"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintDimensionRatio="284:386"
|
|
|
+ app:stv_corner="@dimen/dp_20"
|
|
|
+ android:layout_marginStart="@dimen/dp_50"
|
|
|
+ android:layout_marginEnd="@dimen/dp_50"
|
|
|
+ android:layout_marginTop="@dimen/dp_50"/>
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/dialog_update_img"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="@id/dialog_update_bg"
|
|
|
+ app:layout_constraintEnd_toEndOf="@id/dialog_update_bg"
|
|
|
+ android:src="@drawable/update_img"/>
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/dialog_update_title"
|
|
|
+ android:layout_width="@dimen/dp_0"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ app:layout_constraintStart_toStartOf="@id/dialog_update_bg"
|
|
|
+ app:layout_constraintEnd_toEndOf="@id/dialog_update_bg"
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/dialog_update_img"
|
|
|
+ android:layout_marginTop="@dimen/dp_5"
|
|
|
+ android:text="Discover new releases"
|
|
|
+ android:gravity="center"
|
|
|
+ android:textColor="#FFB717"/>
|
|
|
+
|
|
|
+ <com.coorchice.library.SuperTextView
|
|
|
+ android:id="@+id/dialog_update_update"
|
|
|
+ android:layout_width="@dimen/dp_0"
|
|
|
+ android:layout_height="@dimen/dp_40"
|
|
|
+ app:layout_constraintStart_toStartOf="@id/dialog_update_bg"
|
|
|
+ app:layout_constraintEnd_toEndOf="@id/dialog_update_bg"
|
|
|
+ app:layout_constraintBottom_toTopOf="@id/dialog_update_dismiss"
|
|
|
+ android:layout_margin="@dimen/dp_20"
|
|
|
+ app:stv_solid="#FFAA00"
|
|
|
+ app:stv_corner="@dimen/dp_25"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="Upgrade"/>
|
|
|
+
|
|
|
+ <com.coorchice.library.SuperTextView
|
|
|
+ android:id="@+id/dialog_update_dismiss"
|
|
|
+ android:layout_width="@dimen/dp_0"
|
|
|
+ android:layout_height="@dimen/dp_40"
|
|
|
+ app:layout_constraintStart_toStartOf="@id/dialog_update_bg"
|
|
|
+ app:layout_constraintEnd_toEndOf="@id/dialog_update_bg"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@id/dialog_update_bg"
|
|
|
+ android:layout_margin="@dimen/dp_20"
|
|
|
+ app:stv_solid="#0F000000"
|
|
|
+ app:stv_corner="@dimen/dp_25"
|
|
|
+ android:textColor="@color/black_alpha_50"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="Ignore"/>
|
|
|
+
|
|
|
+
|
|
|
+</androidx.constraintlayout.widget.ConstraintLayout>
|