-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BottomAppBar] BottomAppBar casts a shadow #2953
Comments
I feel that's intended. @imhappi can you confirm this with the designers? |
I want a document like https://material.io/design/environment/elevation.html. |
I think @manabu-nakamura is right, the M3 guideline clearly says the redesigned M3 BottomAppBar doesn't have any elevation shadow (like the M3 top app bar, it also has no shadow), only the Surface Level 2 elevation tint. binding.bottomAppBar.setBackgroundColor(SurfaceColors.SURFACE_2.getColor(context)); to get the correct elevation tint without any shadow. |
Thank you, @patzly. This method can also be used for the navigation bar (BottomNavigationView). My method can not be used for the navigation bar:
|
Hi! Sorry, I was out last week Yes, the designer has confirmed that although there is elevation, there should be no shadow. Changes for this will go out soon |
#2698...
Description: BottomAppBar (https://m3.material.io/components/bottom-app-bar/overview):
But, the BottomAppBar casts a shadow (#2852).
The MaterialToolbar casts no drop shadow (#2698 (comment)).
https://m3.material.io/components/top-app-bar/overview
material-components/material-components#108
Expected behavior: The BottomAppBar casts no shadow.
Or revise the documentation.
Source code:
Minimal sample app repro: Test1.zip (#2852)
Android API version: 33
Material Library version: 1.7.0-rc01
Device: Emulator 31.3.10
The text was updated successfully, but these errors were encountered: