Material You Sample
Material You interface with dynamic theme support for your Android projects
Requirements
Android Studio Chipmunk 2021.2.1 or higher,
Gradle version: 7.2.0,
SDK API 32,
Platform Tools: 33.0.0 rc04,
AndroidX libraries,
Kotlin
What's up?
Material You interface full support
Dynamic theme support (12.0+)
Splash screen (under 12.0)
Dark mode
Themes
"@style/BaseTheme" (Main Application Theme)
"@style/BaseTheme.Splash" (Splash Screen Theme)
"@style/BaseTheme.Settings" (Settings and Other Pages Theme)
Monochrome icon
Create an svg icon named ic_launcher_monochrome.xml and add it to res>drawable directory. To enable Monochrome icon on Android 12 and above, add the following line to the path res>mipmap-anydpi-v26>ic_launcher.xml
<monochrome android:drawable="@drawable/ic_launcher_monochrome" />