Skip to content

Commit 4420b33

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents dbf0324 + 2b428a1 commit 4420b33

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

README.md

Lines changed: 9 additions & 2 deletions
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"
@@ -76,7 +83,7 @@ Similarly, in order to be notified about a selection:
7683
```
7784

7885

79-
### Customosisation
86+
### Customisation
8087

8188
##### Position
8289
In order to change the position of the view, use the standard android APIs to position *FabSpeedDial* within your *ViewGroup* and be sure to assign *fabGravity* a relevant value.
@@ -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)