From fe0a6e8a4aea2fae5bea85b651a61760c53aaca3 Mon Sep 17 00:00:00 2001 From: Artem Glugovsky Date: Tue, 14 Mar 2017 00:36:37 +0200 Subject: [PATCH] Update README.md --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 98bd3e4..014f8be 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,14 @@ Button which is visible while user holds it. Main use case is controlling audio +## Getting started + +Add library as dependency to your `build.gradle`. + +``` +compile 'com.dewarder:holdingbutton:0.0.4' +``` + ## How to use 1. Wrap your layout with `HoldingButtonLayout`. It is simple `FrameLayout` inside. @@ -68,14 +76,6 @@ Button which is visible while user holds it. Main use case is controlling audio ![Check full example](https://github.com/dewarder/HoldingButton/tree/master/holdingbuttonsample) -## Getting started - -Add library as dependency to your `build.gradle`. - -``` -compile 'com.dewarder:holdingbutton:0.0.4' -``` - ## All XML properties - `hbl_direction` (`getDirection/setDirection`)