Skip to content

Commit

Permalink
updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Alessandro Crugnola committed Dec 3, 2016
1 parent 91a41af commit 24f669f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Installation

In your project's `build.gradle` file add the following line to the `dependencies` group:

compile 'it.sephiroth.android.library.bottomnavigation:bottom-navigation:2.0.0'
compile 'it.sephiroth.android.library.bottomnavigation:bottom-navigation:2.0.1-rc1'


Usage
Expand Down Expand Up @@ -162,9 +162,16 @@ The xml menu supports the following attributes in the <menu> tag:

<!-- menu item disabled color -->
<attr name="bbn_itemColorDisabled" format="color" />

<!-- force fixed behavior and always display item labels -->
<!-- default implementation is false and the labels are -->
<!-- shown only if there are less than 4 items in the menu -->
<attr name="bbn_alwaysShowLabels" format="boolean" />
</declare-styleable>
```

> **Note:** By default when there are 4 or 5 elements, only the selected item will display the label.
In order to force all the items to always show their label, use `bbn_alwaysShowLabels` in the menu xml.

Badges
=================
Expand Down

0 comments on commit 24f669f

Please sign in to comment.