Preview Light and Dark Mode in IDE in Jetpack Compose with @Preview

preview_player
Показать описание
Use the @Preview annotation in Jetpack Compose to preview a look and feel direclty in the UI, without starting the emulator. We can use two @Preview annotations to show two different previews simultaneously, such as dark and light mode.

Рекомендации по теме
Комментарии
Автор

Brandon, great job teaching. Enjoying everything. Only wish I had you in an online class, I know I would learn a great deal.

jerryapplegarth
Автор

Brandon, i have a question. My jetpack compose preview works, but it doesnt show the material styles, such as text styling and shape theming. Is it normal? In my emulator all text styling, and shape theming works great.

johnxenakis