Skip to content

Commit b1545ef

Browse files
committed
Updated readme.md with the lib dependency
1 parent b76e4f5 commit b1545ef

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ Similarly tо [NavigationView] (http://developer.android.com/reference/android/s
55

66
### Gettting started
77

8+
##### Add the dependency to gradle.build
9+
```
10+
dependencies {
11+
compile 'io.github.yavski:fab-speed-dial:1.0.0'
12+
}
13+
```
14+
815
##### Define a menu resource
916
```
1017
<menu xmlns:android="http://schemas.android.com/apk/res/android"
@@ -101,7 +108,7 @@ The following attribtues are supported:
101108
### Caveats
102109

103110
If you have used FloatingActionButton, CoordinatorLayout, and both combined, you are most probably aware that:
104-
* 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. views.
111+
* 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.
105112
* 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.
106113

107114
### License

0 commit comments

Comments
 (0)