Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
aurelhubert committed Dec 19, 2018
1 parent 6dbdf00 commit c3f21fb
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 3 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
## Changelog

### Newest version: 2.3.0
* Migrate project to AndroidX
* Update libraries versions
* Incorporate padding into item width calculation
* Badge removal no longer clears text prior to animation
* Fix NPE crash when currentItem was switched programmatically with titleState = TitleState.SHOW_WHEN_ACTIVE_FORCE
* Update isClassic() in AHBottomNavigation
* Navigation item layouts for >= SDK 21 now use item_background drawable for background.
* Only change drawable colour if forceTint is true (default value)
* Add method `addItemAtIndex(int index, AHBottomNavigationItem item)` (with warning when index is out of bounds)

### Newest version: 2.2.0
* Update libraries versions
* Add another state for titles: `SHOW_WHEN_ACTIVE_FORCE` (PR #313)
Expand Down
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,16 @@ Library to implement the Bottom Navigation component from Material Design guidel
## Demo
<img src="https://raw.githubusercontent.com/aurelhubert/ahbottomnavigation/master/demo1.gif" width="208" height="368" /> <img src="https://raw.githubusercontent.com/aurelhubert/ahbottomnavigation/master/demo2.gif" width="208" height="368" /> <img src="https://raw.githubusercontent.com/aurelhubert/ahbottomnavigation/master/demo3.gif" width="208" height="368" /> <img src="https://raw.githubusercontent.com/aurelhubert/ahbottomnavigation/master/demo4.gif" width="208" height="368" />

## What's new (2.2.0) - [Changelog](https://github.com/aurelhubert/ahbottomnavigation/blob/master/CHANGELOG.md)
## What's new (2.3.0) - [Changelog](https://github.com/aurelhubert/ahbottomnavigation/blob/master/CHANGELOG.md)
* Migrate project to AndroidX
* Update libraries versions
* Add another state for titles: `SHOW_WHEN_ACTIVE_FORCE` (PR #313)
* Incorporate padding into item width calculation
* Badge removal no longer clears text prior to animation
* Fix NPE crash when currentItem was switched programmatically with titleState = TitleState.SHOW_WHEN_ACTIVE_FORCE
* Update isClassic() in AHBottomNavigation
* Navigation item layouts for >= SDK 21 now use item_background drawable for background.
* Only change drawable colour if forceTint is true (default value)
* Add method `addItemAtIndex(int index, AHBottomNavigationItem item)` (with warning when index is out of bounds)

## Features
* Follow the bottom navigation guidelines (https://www.google.com/design/spec/components/bottom-navigation.html)
Expand All @@ -23,7 +30,7 @@ Library to implement the Bottom Navigation component from Material Design guidel
### Gradle
```groovy
dependencies {
compile 'com.aurelhubert:ahbottomnavigation:2.2.0'
compile 'com.aurelhubert:ahbottomnavigation:2.3.0'
}
```
### XML
Expand Down

0 comments on commit c3f21fb

Please sign in to comment.