Skip to content

Commit

Permalink
1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashok-Varma authored and Ashok-Varma committed May 14, 2016
1 parent 2cc89e2 commit d07d43e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ BACKGROUND_STYLE_STATIC | <img src="https://raw.githubusercontent.com/Ashok-Varm
BACKGROUND_STYLE_RIPPLE | <img src="https://raw.githubusercontent.com/Ashok-Varma/BottomNavigation/master/fixed_ripple.gif" width="320" height="50" /> | <img src="https://raw.githubusercontent.com/Ashok-Varma/BottomNavigation/master/shift_ripple.gif" width="320" height="50" />

#### 1. Modes
Attribute: `bnbMode` Values: `default, fixed, shifting`
Attribute: `bnbMode` Values: `mode_default, mode_fixed, mode_shifting`
Method: `setMode()` Values:`MODE_DEFAULT, MODE_FIXED, MODE_SHIFTING`

##### Code Snippet Example
Expand All @@ -106,7 +106,7 @@ Method: `setMode()` Values:`MODE_DEFAULT, MODE_FIXED, MODE_SHIFTING`
**MODE_DEFAULT:** if number of tabs are less than or equal to three then MODE_FIXED will be used other cases MODE_SHIFTING will be used.

#### 2. Background Styles
Attribute: `bnbBackgroundStyle` Values: `default, static, ripple`
Attribute: `bnbBackgroundStyle` Values: `background_style_default, background_style_static, background_style_ripple`
Method: `setBackgroundStyle()` Values: `BACKGROUND_STYLE_DEFAULT, BACKGROUND_STYLE_STATIC, BACKGROUND_STYLE_RIPPLE`

##### Code Snippet Example
Expand Down
2 changes: 1 addition & 1 deletion bottom-navigation-bar/src/main/res/values/attrs.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<declare-styleable name="BottomNavigationBar">
<attr name="bnbElevation" />
<attr name="bnbElevation" format="dimension" />
<attr name="bnbActiveColor" format="color" />
<attr name="bnbInactiveColor" format="color" />
<attr name="bnbBackgroundColor" format="color" />
Expand Down

0 comments on commit d07d43e

Please sign in to comment.