Skip to content

Commit

Permalink
Merge pull request roughike#453 from roughike/development
Browse files Browse the repository at this point in the history
Update master to version 2.0
  • Loading branch information
roughike authored Aug 29, 2016
2 parents a247d05 + befe6b8 commit fcaf7ab
Show file tree
Hide file tree
Showing 41 changed files with 1,120 additions and 677 deletions.
1 change: 1 addition & 0 deletions .idea/.name

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions .idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions .idea/copyright/profiles_settings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/encodings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 25 additions & 0 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

46 changes: 46 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions .idea/runConfigurations.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions .idea/runConfigurations/All_Tests.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ before_script:
- adb shell input keyevent 82 &

script:
- ./gradlew assembleDebug connectedDebugAndroidTest
- ./gradlew connectedAndroidTest coveralls
19 changes: 0 additions & 19 deletions BottomBar.iml

This file was deleted.

12 changes: 11 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,17 @@

(or: y u no add shiny new things?!)

### Newest version: 2.0.1
### 2.0.2

* Now we're animating the color change on tab titles and icons.
* Fixed a bug where the BottomBar wouldn't hide completely when it was both shy and drawing under navbar.
* Made possible to inflate the BottomBar programmatically.
* Made it possible to control whether the shadow is shown or not.
* Made setItems to be public to allow writing tests without a designated Activity
* Made setters for allowing setting tab colors, alphas, textappearances and typefaces programmatically.
* Increased test coverage a little bit.

### 2.0.1

* Fixed a bug where the tab selection listener is set and multiple tabs could be selected at once
* Fixed a bug where the reselection listener was fired even it shouldn't have.
Expand Down
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

## Version 2.0 released!

[The latest version before that can be found in the v1 branch](https://github.com/roughike/BottomBar/tree/v1)

* Cleaner code and better APIs
* No more unnecessary stuff or spaghetti mess
* Now the look, feel and behavior is defined in XML, as it should be
Expand Down Expand Up @@ -303,7 +305,8 @@ nearby.removeBadge/();
app:bb_inActiveTabColor="#222222"
app:bb_activeTabColor="@color/colorPrimary"
app:bb_titleTextAppearance="@style/MyTextAppearance"
app:bb_titleTypeFace="fonts/MySuperDuperFont.ttf" />
app:bb_titleTypeFace="fonts/MySuperDuperFont.ttf"
app:bb_showShadow="true" />
```

<dl>
Expand All @@ -325,6 +328,8 @@ nearby.removeBadge/();
<dd>custom textAppearance for the titles</dd>
<dt>bb_titleTypeFace</dt>
<dd>path for your custom font file, such as <code>fonts/MySuperDuperFont.ttf</code>. In that case your font path would look like <code>src/main/assets/fonts/MySuperDuperFont.ttf</code>, but you only need to provide <code>fonts/MySuperDuperFont.ttf</code>, as the asset folder will be auto-filled for you.</dd>
<dt>bb_showShadow</dt>
<dd>controls whether the shadow is shown or hidden, defaults to true.</dd>
</dl>

## Apps using BottomBar
Expand Down
Loading

0 comments on commit fcaf7ab

Please sign in to comment.