Android material 3 has introduced elevation overlays(tonal color overlays). Which causes background color change for MaterialCard views if android:elevation
is provided or increased and impacts the original background color.
- How to style material 3 elevation overlays?
- How to disable material 3 elevation overlays to avoid background color change for card views if elevation is provided to the view.
Documentation doesn't provide much information related to styling or disabling elevation overlays.
https://developer.android.com/jetpack/compose/designsystems/material3#elevation https://m3.material.io/styles/elevation/applying-elevation