diff --git a/.idea/misc.xml b/.idea/misc.xml index 7319f02..085136f 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -53,7 +53,7 @@ - + diff --git a/README.md b/README.md index b9fd93b..f9a7e17 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ In your Application's or Module's build.gradle file: dependencies { ... - compile 'com.github.BeppiMenozzi:Knob:1.7.0' + compile 'com.github.BeppiMenozzi:Knob:1.8.0' ... } @@ -92,6 +92,7 @@ Here is the list of the xml attributes that can be used to customize the View. A General kNumberOfStatesNumber of possible states. States are numbered from 0 to n-1. This number can be changed runtime, and the indicator will adjust its position accordingly. kDefaultStateThe starting state of the knob. +kClickBehaviourWhat is expected when the knob is clicked. Next value, previous value, reset to default value, or let the user select with a popup menu. Default is next. kAnimationEnable / disable indicator's animation. kAnimationSpeedParameter "speed" applied to the spring physical model for the indicator's animation. kAnimationBouncinessParameter "bounciness" applied to the spring physical model for the indicator's animation. @@ -143,6 +144,10 @@ Here is the list of the xml attributes that can be used to customize the View. A You don't have to add any dependency. Internally, this library uses my other Balloon Popup library to display... guess... balloon popups. +### New in 1.8.0 +* Fixed: default swipe direction (thanks for pull request) +* Added different onClick behaviours, included the somewhere asked popup menu + ### New in 1.7.0 * Added public constants for swipe direction