29
Theming Compose UIs

Coda Pizza’s users can now customize their pizzas, but the app itself is still the equivalent of plain cheese: It gets the job done, but it has no particular personality. In the last chapter of this series on the basics of Jetpack Compose, you will spend some time polishing Coda Pizza and adding some visual flair.

You will start by adding a preview of the user’s customized pizza. It will be placed above your list of toppings and will automatically update every time the user changes the toppings on their pizza. You will also learn how to specify a theme in Compose, which works differently than the application themes you have seen in a themes.xml file.

Finally, you will wrap up your journey through Jetpack Compose by reflecting on what Coda Pizza does not have compared to the other apps you have built in the past – and what Compose means for the future of Android development.

When you finish, Coda Pizza will look like Figure 29.1.

Figure 29.1  Coda Pizza’s final form

Coda Pizza’s final form
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.147.44.121