David Collazo
6ab378ddc4
Remove deprecated enableRippleBehavior property from BottomNavigation component
...
PiperOrigin-RevId: 441893309
2022-04-14 17:19:57 -07:00
Wenyu Zhang
b457b13005
Internal change.
...
PiperOrigin-RevId: 417635153
2021-12-21 09:32:05 -08:00
Jeff Verkoeyen
676c9fcfe9
Remove all pre-iOS 12 logic.
...
PiperOrigin-RevId: 400786559
2021-10-04 12:31:50 -07:00
Cody Weaver
28165af3fe
Internal change
...
PiperOrigin-RevId: 392913717
2021-08-25 09:30:48 -07:00
Jeff Verkoeyen
92254ea119
Rename all icons to an ic_<#name#> convention.
...
PiperOrigin-RevId: 308232277
2020-04-24 04:33:51 -07:00
Cody Weaver
fdf87c5995
[MDC/ColorScheme] Remove usage of init within MDC.
...
We recommend using `initWithDefaults` and we should follow the recommendation. This change removes all usage of `init` within MDC components in order to let us remove that initializer from the public surface.
PiperOrigin-RevId: 302958447
2020-03-25 13:36:51 -07:00
Bryan Oltman
3b0bc4fda3
[BottomNavigation] Migrate MDCBottomNavigationBarColorThemer use to theming extension ( #9142 )
...
Migrate `MDCBottomNavigationBarColorThemer` logic to theming extensions to prepare for the eventual deletion of `MDCBottomNavigationBarColorThemer`.
Part of #9130
2019-12-06 12:43:55 -05:00
Robert Moore
48e95bbf0e
[BottomNavigation] Don't set sizeThatFitsIncludesSafeArea. ( #8065 )
...
The default value is false, so setting it to `false`/`NO` is unnecessary.
Part of #6783
2019-07-24 00:43:11 -04:00
Yarden Eitan
efe61588a6
update ( #7246 )
...
We need to add @objc annotations to colorScheme and typographyScheme instances in our Swift examples, because we moved to Swift 4.2, the respondsToSelector won't find `setColorScheme:` and `setTypographyScheme:` setters otherwise.
2019-04-23 10:21:14 -04:00
Andrew Overton
c56d5d76d3
Add @objc annotations to get examples to show up in Dragons ( #7168 )
...
This is a follow up PR for #7166 adds @objc annotations to Swift catalogMetadata() methods, because the Swift 4 compiler no longer attempts to infer what methods should be visible to Objective-C. As a result of this change in the compiler, no Swift examples were showing up in Dragons after #7166 . See this article: https://useyourloaf.com/blog/objc-warnings-upgrading-to-swift-4/ for additional context.
2019-04-17 21:35:43 -04:00
Andrew Overton
b38372192f
Update to Swift 4.2 ( #7166 )
...
This PR updates the Swift version to 4.2.
Partially resolves #6874 .
2019-04-17 16:59:02 -04:00
Robert Moore
10ed6188a5
[BottomNavigation] Examples clean-up. ( #6718 )
...
This is a collection of internal clean-ups that were overdue on Bottom Navigation examples. Nearly all examples (8 of 9) were updated. The majority of the improvements focused on visual layout and appearance, but some code clean-up took place as well.
* Making sure buttons/labels remain on-screen after rotations.
* Correctly positioning the BottomNavigationBar with respect to the safe
area.
* Not adding subviews or configuring views in `-init`
* Allow Catalog/Dragons to inject an App Bar.
* Stop overriding titles.
* Use property access.
## Before/After Screenshots
Not all examples visibly changed as a result of the code clean-up (e.g., "Bottom Navigation" and "Blur Effect"), but the before and after images are present to make it easier to review.
|Example|Before|After|
|---|---|---|
|Badge Value Test|||
|Blur Effect|||
|Bottom Navigation|||
|Bottom Navigation (Swift)|||
|Bottom Navigation Reorder (Swift)|||
|Bottom Navigation Selected|||
|Bottom Navigation Set Color (Swift)|||
|Bottom Navigation Title Visibility (Swift)|||
2019-03-06 08:52:54 -05:00
Bartholomew Furrow
a9c8fab43d
[BottomNavigation] Lays out the bar when titleVisibility is changed ( #6152 )
...
Closes #6151 .
2019-01-24 07:43:56 -05:00