-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Closed
Labels
Description
#2698...
Description: BottomAppBar (https://m3.material.io/components/bottom-app-bar/overview):
- Elevation: No shadow
- M3: Bottom app bar has new colors, a taller container, no elevation or shadow, and contains the FAB.

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:
<androidx.coordinatorlayout.widget.CoordinatorLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.google.android.material.bottomappbar.BottomAppBar
android:id="@+id/appBar"
android:layout_width="match_parent"
android:layout_height="?actionBarSize"
android:layout_gravity="bottom" />
</androidx.coordinatorlayout.widget.CoordinatorLayout>
Minimal sample app repro: Test1.zip (#2852)
Android API version: 33
Material Library version: 1.7.0-rc01
Device: Emulator 31.3.10
patzly