Leave a rating/review
In the last episode, you created your custom theme using the Material 3 Theme Builder Tool. In this challenge, you’ll learn how to use the theme you created in your app by adding the files generated to your ListMaker app.
You should replace the values of Color.kt and Theme.kt in your app with the values generated by the Material 3 Theme Builder Tool.
Let’s take a look at the solution.
Navigate to the directory where the zipped file was downloaded and uncompress it. After uncompressing the archive, open the uncompressed folder and inside ui/theme package you’ll see these files:
- Color.kt
- Theme.kt
Open these files and copy and paste the contents of these files into the corresponding files in your app.
You’ve successfully modified the Color.kt and Theme.kt files to include your custom theme.
Congratulations on customizing your theme!