pubiqq
41d4460744
[Internal] Simplify size computations for some views
...
Resolves https://github.com/material-components/material-components-android/pull/2807
GIT_ORIGIN_REV_ID=199fecd89fb69acaaab2689a4f53966ea1dbd7de
PiperOrigin-RevId: 464151991
2022-08-04 14:24:11 -04:00
Material Design Team
a487c89185
Internal change
...
PiperOrigin-RevId: 412135443
2021-11-29 17:35:39 +00:00
hunterstich
7eea2b25bc
[Navigation bar] Add active indicator.
...
PiperOrigin-RevId: 368261456
2021-04-16 12:42:14 -04:00
raajkumars
aca5bfb6f7
[Bottom Navigation] Extracted common logic from bottom navigation component into navigation package.
...
PiperOrigin-RevId: 345029590
2020-12-02 09:55:26 -05:00
dniz
cbc7af2054
[BottomNavigationView] Added setItemOnTouchListener method to support custom touch handling
...
PiperOrigin-RevId: 325814575
2020-08-10 13:25:26 -04:00
marianomartin
555356b03f
Internal cleanup
...
PiperOrigin-RevId: 318134343
2020-06-26 14:06:52 -04:00
Material Design Team
5de9f01ade
Move a11y delegate code from BottomNavigationView and TabLayout to onInitializeA11yNodeInfo.
...
PiperOrigin-RevId: 286929652
2019-12-23 15:44:28 -05:00
Material Design Team
cc9b9c1103
Add CollectionInfos and CollectionItemInfos to tabs for accessibility. Also make a tab non-clickable by a11y when it is selected.
...
PiperOrigin-RevId: 281785987
2019-11-22 21:25:50 +00:00
connieshi
de005027bc
Fix bug in bottom navigation badge state restoration that did not set the badges on the menu item views.
...
Update catalog demo to save and restore states in the bottom navigation demos.
PiperOrigin-RevId: 278436621
2019-11-06 10:14:43 -05:00
cketcham
08a26c929e
Add @NonNull and @Nullable annotations
...
PiperOrigin-RevId: 264750215
2019-08-26 11:21:15 -04:00
connieshi
c14dee1440
Add null check before trying to find the item view associated with a badge id.
...
PiperOrigin-RevId: 261694373
2019-08-06 14:25:55 -04:00
isabellekim
a628bf516b
Revert the library to compile with Java 7: revert lambdas, add necessary casts, and make some variables final.
...
Continue compile shrine demo, catalog, and tests with Java 8.
PiperOrigin-RevId: 257874888
2019-07-15 19:19:23 -04:00
marianomartin
164bf0fabd
Internal cleanup
...
PiperOrigin-RevId: 255609320
2019-07-03 14:02:53 -04:00
marianomartin
2de39fafe0
Internal cleanup
...
PiperOrigin-RevId: 253799644
2019-06-18 13:57:49 -04:00
connieshi
ee913784dc
Rename BottomNavigationView#showBadge to BottomNavigationView#getOrCreateBadge(). No longer ensures that the badge is visible. User should call BadgeDrawable#setVisible(boolean).
...
PiperOrigin-RevId: 253231582
2019-06-18 13:28:31 -04:00
cketcham
bff75f2d3e
Update to lamdas
...
PiperOrigin-RevId: 252846439
2019-06-18 13:21:02 -04:00
connieshi
c7d21aec95
Convenience wrapper method for Drawable#setVisible(boolean, boolean) with the second parameter hardcoded to false.
...
PiperOrigin-RevId: 249981625
2019-05-29 15:43:19 -04:00
connieshi
fc109fa13b
Save badge states in BottomNavigationMenuView.
...
PiperOrigin-RevId: 245446090
2019-04-29 15:54:12 -07:00
connieshi
9d488d9208
Begin integrating BadgeDrawable into BottomNavigationView.
...
TODO:
- update javadocs to provide guidance on how to interact with BottomNavigation + Badging.
- Save badge states.
- Support displaying badges when bottom navigation item doesn't show an icon.
PiperOrigin-RevId: 244197244
2019-04-19 21:51:25 -04:00
connieshi
7d8b2117a0
Automated g4 rollback of changelist 242675939
...
PiperOrigin-RevId: 242751222
2019-04-19 13:26:30 -04:00
connieshi
00ffe5eea8
Begin integrating BadgeDrawable into BottomNavigationView.
...
TODO:
- update javadocs to provide guidance on how to call Badging API.
- Save badge states.
- Support displaying badges when bottom navigation item doesn't show an icon.
PiperOrigin-RevId: 242675939
2019-04-19 13:21:35 -04:00
Material Design Team
41274ddb1f
Migrate transition android support libraries to androidx.
...
PiperOrigin-RevId: 239881112
2019-03-26 17:30:06 -04:00
Material Design Team
aae325e6b4
Migrate interpolator android support libraries to androidx.
...
PiperOrigin-RevId: 237401244
2019-03-08 10:11:23 -05:00
isabellekim
0055c665af
Remember the selected item when adding items to BottomNavigation's menu
...
PiperOrigin-RevId: 227140261
2019-01-10 15:53:25 -05:00
cketcham
dc72aaeed4
Migrate Gradle build and sources to androidx
...
PiperOrigin-RevId: 225551505
2018-12-21 11:07:45 -05:00
dniz
91196d1163
Add get/setItemBackground() Drawable methods to BottomNavigationView
...
PiperOrigin-RevId: 198911383
2018-06-04 10:50:40 -04:00
afohrman
2f2ba0ce3d
Add "enabled" suffix to itemHorizontalTranslation attribute name.
...
The suffix makes it clearer that the attribute is boolean.
This attribute was introduced in an alpha release, so it is fine to rename.
PiperOrigin-RevId: 193964290
2018-04-30 11:56:12 -04:00
afohrman
fcbc5b560f
Change itemIconSize to use pixels instead of dp.
...
PiperOrigin-RevId: 193513323
2018-04-30 11:33:42 -04:00
dniz
9ca33544ac
Update package name to com.google.android.material
...
PiperOrigin-RevId: 193236235
2018-04-30 11:24:23 -04:00