From 2fda8d12d2929505711396276468e15fb58e3621 Mon Sep 17 00:00:00 2001 From: yangchong Date: Mon, 20 Dec 2021 22:30:32 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 3 +- .idea/gradle.xml | 1 + .idea/modules.xml | 1 + Widget/BannerWidget/.gitignore | 1 + Widget/SwipeBackLib/.gitignore | 76 + Widget/SwipeBackLib/.idea/.gitignore | 0 Widget/SwipeBackLib/.idea/gradle.xml | 13 + Widget/SwipeBackLib/.idea/misc.xml | 9 + Widget/SwipeBackLib/.idea/modules.xml | 8 + .../SwipeBackLib/.idea/runConfigurations.xml | 10 + Widget/SwipeBackLib/.idea/workspace.xml | 40 + Widget/SwipeBackLib/build.gradle | 23 + Widget/SwipeBackLib/consumer-rules.pro | 0 Widget/SwipeBackLib/proguard-rules.pro | 21 + .../SwipeBackLib/src/main/AndroidManifest.xml | 1 + .../java/com/yc/swipe/ISwipeDelegate.java | 28 + .../java/com/yc/swipe/SwipeBackHelper.java | 325 +++ .../java/com/yc/swipe/SwipeBackLayout.java | 1823 +++++++++++++++++ .../java/com/yc/swipe/SwipeBackManager.java | 115 ++ .../com/yc/swipe/SwipeBackShadowView.java | 287 +++ .../java/com/yc/swipe/SwipeKeyboardUtil.java | 117 ++ .../main/java/com/yc/swipe/SwipeUiUtils.java | 137 ++ .../anim/swipe_activity_backward_enter.xml | 7 + .../res/anim/swipe_activity_backward_exit.xml | 7 + .../res/anim/swipe_activity_forward_enter.xml | 7 + .../res/anim/swipe_activity_forward_exit.xml | 7 + .../anim/swipe_activity_swipeback_enter.xml | 7 + .../anim/swipe_activity_swipeback_exit.xml | 7 + .../src/main/res/drawable/swipe_shadow.9.png | Bin 0 -> 300 bytes app/.gitignore | 1 + settings.gradle | 4 +- 31 files changed, 3084 insertions(+), 2 deletions(-) create mode 100644 Widget/SwipeBackLib/.gitignore create mode 100644 Widget/SwipeBackLib/.idea/.gitignore create mode 100644 Widget/SwipeBackLib/.idea/gradle.xml create mode 100644 Widget/SwipeBackLib/.idea/misc.xml create mode 100644 Widget/SwipeBackLib/.idea/modules.xml create mode 100644 Widget/SwipeBackLib/.idea/runConfigurations.xml create mode 100644 Widget/SwipeBackLib/.idea/workspace.xml create mode 100644 Widget/SwipeBackLib/build.gradle create mode 100644 Widget/SwipeBackLib/consumer-rules.pro create mode 100644 Widget/SwipeBackLib/proguard-rules.pro create mode 100644 Widget/SwipeBackLib/src/main/AndroidManifest.xml create mode 100644 Widget/SwipeBackLib/src/main/java/com/yc/swipe/ISwipeDelegate.java create mode 100644 Widget/SwipeBackLib/src/main/java/com/yc/swipe/SwipeBackHelper.java create mode 100644 Widget/SwipeBackLib/src/main/java/com/yc/swipe/SwipeBackLayout.java create mode 100644 Widget/SwipeBackLib/src/main/java/com/yc/swipe/SwipeBackManager.java create mode 100644 Widget/SwipeBackLib/src/main/java/com/yc/swipe/SwipeBackShadowView.java create mode 100644 Widget/SwipeBackLib/src/main/java/com/yc/swipe/SwipeKeyboardUtil.java create mode 100644 Widget/SwipeBackLib/src/main/java/com/yc/swipe/SwipeUiUtils.java create mode 100644 Widget/SwipeBackLib/src/main/res/anim/swipe_activity_backward_enter.xml create mode 100644 Widget/SwipeBackLib/src/main/res/anim/swipe_activity_backward_exit.xml create mode 100644 Widget/SwipeBackLib/src/main/res/anim/swipe_activity_forward_enter.xml create mode 100644 Widget/SwipeBackLib/src/main/res/anim/swipe_activity_forward_exit.xml create mode 100644 Widget/SwipeBackLib/src/main/res/anim/swipe_activity_swipeback_enter.xml create mode 100644 Widget/SwipeBackLib/src/main/res/anim/swipe_activity_swipeback_exit.xml create mode 100644 Widget/SwipeBackLib/src/main/res/drawable/swipe_shadow.9.png diff --git a/.gitignore b/.gitignore index c7ee9658f..067b13c72 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,5 @@ .DS_Store /build /captures -.externalNativeBuild \ No newline at end of file +.externalNativeBuild +.idea/ \ No newline at end of file diff --git a/.idea/gradle.xml b/.idea/gradle.xml index 5a5c2db86..d1fae5ecc 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -41,6 +41,7 @@