diff --git a/README.md b/README.md index 28a438c..8768138 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,37 @@ - +
+ +
-# Dropsy -Simple dropdown/spinner view for Android. ++Simple dropdown/spinner view for Android +
- - - + + ++ +
+ + +## Gradle +Add it in your top-level `build.gradle`: +``` +allprojects { + repositories { + ... + maven { url 'https://jitpack.io' } + } +} +``` +Add the dependency to app-level `build.gradle`: +``` +implementation 'com.github.qandeelabbassi:Dropsy:1.0' +``` ## Usage :point_right: Add the Dropsy's `DropDownView` view in XML layout like this: @@ -28,7 +54,7 @@ class MainActivity : AppCompatActivity() { super.onCreate(savedInstanceState) setContentView(R.layout.activity_main) // set listener - findViewById