From a1d16585d86ab5b9a5eaed43f2c3d03bbaf052f1 Mon Sep 17 00:00:00 2001 From: torrydo Date: Thu, 21 Sep 2023 14:33:00 +0700 Subject: [PATCH] upgrade version name, README.md --- README.md | 9 ++++++++- gradle.properties | 4 ++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 48207b4..74e8efc 100644 --- a/README.md +++ b/README.md @@ -361,18 +361,25 @@ class MyServiceKt : ExpandableBubbleService() { .expandedCompose { ExpandedCompose() } + // handle key code .onDispatchKeyEvent { if(it.keyCode == KeyEvent.KEYCODE_BACK){ minimize() } null } + // set start location in dp .startLocation(0, 0) + // allow expanded bubble can be draggable or not .draggable(true) + // fade animation by default .style(null) + // .fillMaxWidth(true) + // animate to the left/right side when release, trfalseue by default .enableAnimateToEdge(true) - .dimAmount(0.9f) + // set background dimmer + .dimAmount(0.6f) } } ``` diff --git a/gradle.properties b/gradle.properties index 1a532eb..4c9f6c5 100644 --- a/gradle.properties +++ b/gradle.properties @@ -27,8 +27,8 @@ RELEASE_SIGNING_ENABLED=true GROUP=io.github.torrydo POM_ARTIFACT_ID=floating-bubble-view -VERSION_NAME=0.6.2 -#prev: 0.6.1 +VERSION_NAME=0.6.3 +#prev: 0.6.2 POM_NAME=FloatingBubbleView POM_PACKAGING=aar