diff --git a/README.md b/README.md index 8c9c8fa..3c62709 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,13 @@ Similarly tо [NavigationView] (http://developer.android.com/reference/android/s ### Gettting started +##### Add the dependency to gradle.build +``` +dependencies { + compile 'io.github.yavski:fab-speed-dial:1.0.0' +} +``` + ##### Define a menu resource ``` = 21, one for earlier versions; **the one for older versions uses extra padding in order to draw shadows; you don't need to account for the extra padding** as the library takes care of it however do check your layouts/dimensions to avoid mis-positioned views. views. +* Internally, FAB has two main implementations: one for SDK >= 21, one for earlier versions; **the one for older versions uses extra padding in order to draw shadows; you don't need to account for the extra padding** as the library takes care of it however do check your layouts/dimensions to avoid mis-positioned views. * When used in a CoordinatorLayout, FAB is known to have its margin values ignored / misused under certain circumstances; as a workaround the library always adds left or right margin values (depending on gravity), taking into account the SDK version too. ### License