From c59516aa2a8d632f39a46721e095afcbdb56cb3c Mon Sep 17 00:00:00 2001 From: Yutousama <583819556@qq.com> Date: Wed, 25 May 2022 22:56:45 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E5=A7=8B=E7=89=88=E6=9C=AC=EF=BC=9A?= =?UTF-8?q?=20=E6=94=AF=E6=8C=81=EF=BC=9A=E8=AE=BE=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E6=9C=AC=E6=A0=87=E9=A2=98=20=E6=94=AF=E6=8C=81=EF=BC=9A?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E8=87=AA=E5=AE=9A=E4=B9=89View=E6=A0=87?= =?UTF-8?q?=E9=A2=98=20=E6=94=AF=E6=8C=81=EF=BC=9A=E8=AE=BE=E7=BD=AE?= =?UTF-8?q?=E5=85=B3=E9=97=AD=E6=8C=89=E9=92=AE=20=E6=94=AF=E6=8C=81?= =?UTF-8?q?=EF=BC=9A=E8=AE=BE=E7=BD=AE=E6=96=87=E6=9C=AC=E6=AD=A3=E6=96=87?= =?UTF-8?q?=20=E6=94=AF=E6=8C=81=EF=BC=9A=E8=AE=BE=E7=BD=AE=E8=87=AA?= =?UTF-8?q?=E5=AE=9A=E4=B9=89View=20=E6=94=AF=E6=8C=81=EF=BC=9A=E6=A0=87?= =?UTF-8?q?=E9=A2=98=E6=A0=8F=E4=B8=8A=E4=B8=8B=E6=BB=91=E5=8A=A8=E6=9D=A5?= =?UTF-8?q?=E6=89=A9=E5=B1=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/gradle.xml | 2 + .idea/misc.xml | 10 + POPDialog/.gitignore | 1 + POPDialog/build.gradle | 39 +++ POPDialog/consumer-rules.pro | 0 POPDialog/proguard-rules.pro | 21 ++ .../popdialog/ExampleInstrumentedTest.kt | 24 ++ POPDialog/src/main/AndroidManifest.xml | 5 + .../java/com/yutou/popdialog/POPDialog.kt | 280 ++++++++++++++++++ .../yutou/popdialog/utils/POPDialogUtils.kt | 20 ++ .../com/yutou/popdialog/views/ExitButton.kt | 51 ++++ POPDialog/src/main/res/anim/enter_anim.xml | 11 + POPDialog/src/main/res/anim/exit_anim.xml | 11 + .../src/main/res/drawable/dialog_line.xml | 5 + .../src/main/res/drawable/dialog_title.xml | 5 + POPDialog/src/main/res/layout/dialog.xml | 49 +++ .../src/main/res/values-zh-rCN/string.xml | 4 + POPDialog/src/main/res/values/string.xml | 4 + POPDialog/src/main/res/values/styles.xml | 24 ++ .../com/yutou/popdialog/ExampleUnitTest.kt | 17 ++ app/build.gradle | 11 +- .../pop_up_dialog/ExampleInstrumentedTest.kt | 4 +- .../com/yutou/pop_up_dialog/MainActivity.kt | 43 ++- app/src/main/res/layout/activity_main.xml | 6 +- gradle.properties | 4 +- settings.gradle | 1 + 26 files changed, 641 insertions(+), 11 deletions(-) create mode 100644 POPDialog/.gitignore create mode 100644 POPDialog/build.gradle create mode 100644 POPDialog/consumer-rules.pro create mode 100644 POPDialog/proguard-rules.pro create mode 100644 POPDialog/src/androidTest/java/com/yutou/popdialog/ExampleInstrumentedTest.kt create mode 100644 POPDialog/src/main/AndroidManifest.xml create mode 100644 POPDialog/src/main/java/com/yutou/popdialog/POPDialog.kt create mode 100644 POPDialog/src/main/java/com/yutou/popdialog/utils/POPDialogUtils.kt create mode 100644 POPDialog/src/main/java/com/yutou/popdialog/views/ExitButton.kt create mode 100644 POPDialog/src/main/res/anim/enter_anim.xml create mode 100644 POPDialog/src/main/res/anim/exit_anim.xml create mode 100644 POPDialog/src/main/res/drawable/dialog_line.xml create mode 100644 POPDialog/src/main/res/drawable/dialog_title.xml create mode 100644 POPDialog/src/main/res/layout/dialog.xml create mode 100644 POPDialog/src/main/res/values-zh-rCN/string.xml create mode 100644 POPDialog/src/main/res/values/string.xml create mode 100644 POPDialog/src/main/res/values/styles.xml create mode 100644 POPDialog/src/test/java/com/yutou/popdialog/ExampleUnitTest.kt diff --git a/.idea/gradle.xml b/.idea/gradle.xml index 1b28c9c..bf713c9 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -1,5 +1,6 @@ +