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`)