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