aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core-ui/src/main/res-public/values-v21/styles.xml10
-rw-r--r--core-ui/src/main/res-public/values/public.xml1
-rw-r--r--core/README.md2
-rw-r--r--core/src/main/res-public/values-v21/styles.xml13
-rw-r--r--core/src/main/res-public/values/colors.xml (renamed from core-ui/src/main/res-public/values/colors.xml)0
-rw-r--r--core/src/main/res-public/values/public.xml2
-rw-r--r--core/src/main/res-public/values/styles.xml9
-rw-r--r--docs/Changelog.md2
-rw-r--r--gradle.properties2
-rw-r--r--sample/src/main/res/xml/kau_changelog.xml3
10 files changed, 32 insertions, 12 deletions
diff --git a/core-ui/src/main/res-public/values-v21/styles.xml b/core-ui/src/main/res-public/values-v21/styles.xml
index fe2c9bf..782f9bb 100644
--- a/core-ui/src/main/res-public/values-v21/styles.xml
+++ b/core-ui/src/main/res-public/values-v21/styles.xml
@@ -1,15 +1,5 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<resources>
- <style name="Kau.Translucent">
- <item name="android:windowBackground">@color/kau_shadow_overlay</item>
- <item name="android:colorBackgroundCacheHint">@null</item>
- <item name="android:windowContentOverlay">@null</item>
- <item name="android:windowIsFloating">false</item>
- <item name="android:windowIsTranslucent">true</item>
- <item name="android:windowNoTitle">true</item>
- <item name="android:windowDrawsSystemBarBackgrounds">true</item>
- </style>
-
<style name="Kau.Translucent.SlideBottom">
<item name="android:windowEnterTransition">@transition/kau_enter_slide_bottom</item>
<item name="android:windowReturnTransition">@transition/kau_exit_slide_bottom</item>
diff --git a/core-ui/src/main/res-public/values/public.xml b/core-ui/src/main/res-public/values/public.xml
index aed5f9f..193e088 100644
--- a/core-ui/src/main/res-public/values/public.xml
+++ b/core-ui/src/main/res-public/values/public.xml
@@ -3,7 +3,6 @@
<public name='kau_elastic_recycler_activity' type='layout' />
<public name='kau_recycler_detached_background' type='layout' />
<public name='kau_recycler_textslider' type='layout' />
- <public name='kau_shadow_overlay' type='color' />
<public name='Kau.Translucent' type='style' />
<public name='Kau.Translucent.NoAnimation' type='style' />
<public name='Kau.Translucent.SlideBottom' type='style' />
diff --git a/core/README.md b/core/README.md
index 998226b..2c8ae9d 100644
--- a/core/README.md
+++ b/core/README.md
@@ -176,6 +176,8 @@ kauSwipeOnDestroy() //in the onDestroy method
kauSwipeFinish() //optional; replace onBackPressed with this to animate the activity finish
```
+For the best results, activities should be translucent. See `Kau.Transparent` for a base style example.
+
Special thanks goes to the original project, [SwipeBackHelper](https://github.com/Jude95/SwipeBackHelper)
KAU's swipe is a Kotlin rewrite, along with support for all directions and weakly referenced contexts.
diff --git a/core/src/main/res-public/values-v21/styles.xml b/core/src/main/res-public/values-v21/styles.xml
new file mode 100644
index 0000000..1157c37
--- /dev/null
+++ b/core/src/main/res-public/values-v21/styles.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+
+ <style name="Kau.Translucent">
+ <item name="android:windowBackground">@color/kau_shadow_overlay</item>
+ <item name="android:colorBackgroundCacheHint">@null</item>
+ <item name="android:windowContentOverlay">@null</item>
+ <item name="android:windowIsFloating">false</item>
+ <item name="android:windowIsTranslucent">true</item>
+ <item name="android:windowNoTitle">true</item>
+ <item name="android:windowDrawsSystemBarBackgrounds">true</item>
+ </style>
+</resources> \ No newline at end of file
diff --git a/core-ui/src/main/res-public/values/colors.xml b/core/src/main/res-public/values/colors.xml
index 82bf172..82bf172 100644
--- a/core-ui/src/main/res-public/values/colors.xml
+++ b/core/src/main/res-public/values/colors.xml
diff --git a/core/src/main/res-public/values/public.xml b/core/src/main/res-public/values/public.xml
index fb1c9df..2163b10 100644
--- a/core/src/main/res-public/values/public.xml
+++ b/core/src/main/res-public/values/public.xml
@@ -22,6 +22,7 @@
<public name='kau_exit_slide_left' type='transition' />
<public name='kau_exit_slide_right' type='transition' />
<public name='kau_exit_slide_top' type='transition' />
+ <public name='kau_shadow_overlay' type='color' />
<public name='kau_activity_horizontal_margin' type='dimen' />
<public name='kau_activity_vertical_margin' type='dimen' />
<public name='kau_dialog_margin' type='dimen' />
@@ -106,6 +107,7 @@
<public name='kau_0' type='string' />
<public name='kau_bullet_point' type='string' />
<public name='Kau' type='style' />
+ <public name='Kau.Translucent' type='style' />
<public name='KauFadeIn' type='style' />
<public name='KauFadeInFadeOut' type='style' />
<public name='KauSlideInRight' type='style' />
diff --git a/core/src/main/res-public/values/styles.xml b/core/src/main/res-public/values/styles.xml
index f6f1929..bdbc84f 100644
--- a/core/src/main/res-public/values/styles.xml
+++ b/core/src/main/res-public/values/styles.xml
@@ -1,4 +1,13 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<resources>
<style name="Kau" parent="Theme.AppCompat.NoActionBar"/>
+
+ <style name="Kau.Translucent">
+ <item name="android:windowBackground">@color/kau_shadow_overlay</item>
+ <item name="android:colorBackgroundCacheHint">@null</item>
+ <item name="android:windowContentOverlay">@null</item>
+ <item name="android:windowIsFloating">false</item>
+ <item name="android:windowIsTranslucent">true</item>
+ <item name="android:windowNoTitle">true</item>
+ </style>
</resources>
diff --git a/docs/Changelog.md b/docs/Changelog.md
index 4867681..5d6c743 100644
--- a/docs/Changelog.md
+++ b/docs/Changelog.md
@@ -4,6 +4,8 @@
* :core: Fix FAQ background
* :core: Create FileUtils
* :core: Create NotificationUtils
+* :core: Update swipe to remove most exceptions
+* :core: Make logging class functions inline
* :core-ui: Move reactive libs to :searchview:
## v3.2.3
diff --git a/gradle.properties b/gradle.properties
index 55ce4e2..8d65cac 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -23,7 +23,7 @@ TARGET_SDK=26
BUILD_TOOLS=26.0.1
ANDROID_SUPPORT_LIBS=26.0.0
-VERSION_NAME=3.2.4
+VERSION_NAME=3.2.5
KOTLIN=1.1.3-2
ABOUT_LIBRARIES=5.9.7
diff --git a/sample/src/main/res/xml/kau_changelog.xml b/sample/src/main/res/xml/kau_changelog.xml
index d505bcf..c11353d 100644
--- a/sample/src/main/res/xml/kau_changelog.xml
+++ b/sample/src/main/res/xml/kau_changelog.xml
@@ -10,6 +10,9 @@
<item text=":core: Fix FAQ background" />
<item text=":core: Create FileUtils" />
<item text=":core: Create NotificationUtils" />
+ <item text=":core: Update swipe to remove most exceptions" />
+ <item text=":core: Make logging class functions inline" />
+ <item text=":core: Create removeIf for mutableIteratables" />
<item text=":core-ui: Move reactive libs to :searchview:" />
<item text="" />
<item text="" />