Commit 18f8290
v2.3.1 (#751)
* Bug fix/shadow not respecting flag (#749)
* Data binding fixes clean (#712)
* Fix Bottom Bar issues with Android Data Binding
* keep .idea
* travis changes
* Fix for shadow (#716)
* - Removing the view for API 21
- Adding a negative margin for API 20 or less so that the content is overlapped with the shadow
- Fix the annotation for the MiscUtils
* - Removing the view for API 21
- Adding a negative margin for API 20 or less so that the content is overlapped with the shadow
- Fix the annotation for the MiscUtils
* - Removing the view for API 21
- Adding a negative margin for API 20 or less so that the content is overlapped with the shadow
- Fix the annotation for the MiscUtils
* SelectableItemBackground Ripple! (#713)
* Add selectableItemBackground programmatically which shows user touch response with either ripple or slight change of colour if below lollipop.
* Remove style in tablet mode which makes ripple go out of bounds. Without it ripple is contained within its view.
* Remove unnecessary local reference.
* Added getTypedValue and getDrawableRes methods in MiscUtils and changed to selectableItemBackgroundBorderless.
* Change color to resId.
* Fix for wrong size in tabs
- Setting the modified LayoutParams so that the views are changed (#719)
* Tabs without titles (#717)
* Update CHANGELOG.md
* Update README.md
* Update README.md
* Basic support for tabs that have no title, only icons.
* Reverted debug code.
* Made sure that icon-only tabs throw an exception if they don't have icons.
* There's no need to set visibility to the title, as it's already visible.
* Added a sample for the icons only mode.
* Made the titleless mode combined with shifting mode work.
* Removed the eight dp padding from XML layout, since that offsets titleless tab icons from the center & isn't needed anyway since it's set dynamically.
* Added some zoom to active tab icons that are both shifting and titleless.
* Cleared up the select & unselect methods.
* Modified the color changing tabs sample height, so it looks less crammed and more like the design specs.
* Show & Hide methods when on shy mode. (#722)
* Added methods for showing / hiding the BottomBar when on shy mode.
* Better naming.
* Refactored the hide / show methods to a separate ShySettings class, since they were only related for a shy BottomBar.
* Made getting shy settings not throw an exception when the bottombar isn't shy, but have a log warning instead.
* Made it possible to have individual titleless tabs. (#726)
* Feature/optional long press toasts (#714)
* Update CHANGELOG.md
* Update README.md
* Update README.md
* Made it possible to control whether or not the Toasts are shown when long pressing tabs.
* Updated changelog.
* - Fix for shadow not respecting flag
- API 21+ was not using the flag at all
- API 20- where not removing the margin when no shadow was displayed
- API 20- set the default visibility of the shadow to GONE
* Bumped up version numbers & updated changelog for new release.1 parent 9bfea75 commit 18f8290
File tree
6 files changed
+58
-36
lines changed- bottom-bar
- src/main
- java/com/roughike/bottombar
- res/layout
6 files changed
+58
-36
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
3 | 7 | | |
4 | 8 | | |
5 | 9 | | |
| |||
24 | 28 | | |
25 | 29 | | |
26 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
27 | 37 | | |
28 | 38 | | |
29 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
Lines changed: 40 additions & 29 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| 86 | + | |
86 | 87 | | |
87 | 88 | | |
88 | 89 | | |
| |||
153 | 154 | | |
154 | 155 | | |
155 | 156 | | |
156 | | - | |
| 157 | + | |
| 158 | + | |
157 | 159 | | |
158 | 160 | | |
159 | 161 | | |
| |||
170 | 172 | | |
171 | 173 | | |
172 | 174 | | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
179 | 183 | | |
180 | 184 | | |
181 | 185 | | |
| |||
184 | 188 | | |
185 | 189 | | |
186 | 190 | | |
187 | | - | |
| 191 | + | |
| 192 | + | |
188 | 193 | | |
189 | 194 | | |
190 | 195 | | |
| |||
230 | 235 | | |
231 | 236 | | |
232 | 237 | | |
233 | | - | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
234 | 241 | | |
235 | 242 | | |
236 | 243 | | |
| |||
260 | 267 | | |
261 | 268 | | |
262 | 269 | | |
| 270 | + | |
263 | 271 | | |
264 | 272 | | |
265 | 273 | | |
| |||
386 | 394 | | |
387 | 395 | | |
388 | 396 | | |
389 | | - | |
| 397 | + | |
| 398 | + | |
390 | 399 | | |
391 | 400 | | |
392 | 401 | | |
| |||
925 | 934 | | |
926 | 935 | | |
927 | 936 | | |
928 | | - | |
| 937 | + | |
| 938 | + | |
929 | 939 | | |
930 | 940 | | |
931 | 941 | | |
| |||
1044 | 1054 | | |
1045 | 1055 | | |
1046 | 1056 | | |
1047 | | - | |
1048 | | - | |
1049 | | - | |
1050 | | - | |
1051 | | - | |
1052 | | - | |
1053 | | - | |
1054 | | - | |
1055 | | - | |
1056 | | - | |
1057 | | - | |
1058 | | - | |
1059 | | - | |
1060 | | - | |
1061 | | - | |
1062 | | - | |
1063 | | - | |
1064 | | - | |
| 1057 | + | |
| 1058 | + | |
| 1059 | + | |
| 1060 | + | |
| 1061 | + | |
| 1062 | + | |
| 1063 | + | |
| 1064 | + | |
| 1065 | + | |
| 1066 | + | |
| 1067 | + | |
| 1068 | + | |
| 1069 | + | |
| 1070 | + | |
| 1071 | + | |
| 1072 | + | |
| 1073 | + | |
| 1074 | + | |
| 1075 | + | |
1065 | 1076 | | |
1066 | 1077 | | |
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
19 | | - | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
26 | | - | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
0 commit comments