Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Clans committed Mar 22, 2015
1 parent 2e64a42 commit 22dced7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ Add the `com.github.clans.fab.FloatingActionButton` to your layout XML file.
```
You can set an icon for the **FloatingActionButton** using `android:src` xml attribute. Use drawables of size `24dp` as specified by [guidlines](http://www.google.com/design/spec/components/buttons.html#buttons-floating-action-button). Icons of desired size can be generated with [Android Asset Studio](http://romannurik.github.io/AndroidAssetStudio/icons-generic.html).

### Floating action button
Here are all the **FloatinActionButton**'s xml attributes with their **default values** which means that you don't have to set all of them:
```XML
<com.github.clans.fab.FloatingActionButton
Expand All @@ -79,6 +80,7 @@ Here are all the **FloatinActionButton**'s xml attributes with their **default v
```
All of these **FloatingActionButton**'s attributes has their corresponding getters and setters. So you can set them **programmatically**.

### Floating action menu
Here are all the **FloatingActionMenu**'s xml attributes with their **default values** which means that you don't have to set all of them:
```XML
<com.github.clans.fab.FloatingActionMenu
Expand Down

0 comments on commit 22dced7

Please sign in to comment.