The Material 3 Design guidelines describes the option of theming based on content (instead of theming based on the current wallpaper of the user). See below for the section:
Now applying a dynamic theme to an activity on android works with:
DynamicColors.applyToActivityIfAvailable(this);
But how do you:
- Generate a theme based on content (preferably using a view or an image)?
- Apply that generated theme?
Are there methods available for this?