mirror of
https://github.com/material-components/material-components-android.git
synced 2026-01-21 12:33:04 +08:00
Currently Snackbar.make() will use the context of the parent view (typically CoordinatorLayout or decor content view) to inflate the Snackbar view. This is not desirable for cases where there may be a ContextThemeWrapper below that parent view, e.g. for a Fragment that uses material theme. The behavior of existing methods without Context argument remain unchanged. PiperOrigin-RevId: 340286851
tests
This directory contains the sources for the emulator tests for this library, which exercises a test application located in the ../testing directory.