Your Second Kotlin Android App

Aug 29 2023 · Kotlin 1.8.21, Android 13, Android Studio Flamingo | 2022.2.1

Part 1: Create Your App & Learn Jetpack Compose

07. Challenge: Add All Material Design 3 Theming

Episode complete

Play next episode

Next
About this episode

Leave a rating/review

See forum comments
Cinema mode Mark complete Download course materials
Previous episode: 06. Understand Material Design 3 Next episode: 08. Conclusion

Get immediate access to this and 4,000+ other videos and books.

Take your career further with a Kodeco Personal Plan. With unlimited access to over 40+ books and 4,000+ professional videos in a single subscription, it's simply the best investment you can make in your development career.

Learn more Already a subscriber? Sign in.

Transcript: 07. Challenge: Add All Material Design 3 Theming

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!