Jetpack Compose ułatwia wdrażanie systemu projektowania i zapewnia spójny wygląd aplikacji dzięki motywom, komponentom i innym funkcjom.
Na kolejnych stronach znajdziesz szczegółowe informacje o projektowaniu i implementacji projektu system:
- Material Design 3: dowiedz się, jak zaimplementować Material You w ramach Material Design 3 w Compose.
- Przejście z Material 2 na Material 3: dowiedz się, jak przenieść aplikację z wersji Material Design 2 na Material Design 3 w Compose.
- Niestandardowe systemy projektowania: dowiedz się, jak wdrażać niestandardowe systemy projektowania w Compose i jak dostosowywać do nich istniejące komponenty w interfejsie Material Design.
- Składnia motywu: więcej informacji o używanych konstrukcjach niższego poziomu i interfejsach API.
przez
MaterialTheme
i niestandardowych systemów projektowania. - Przenoszenie motywów XML do Compose: dowiedz się, jak przenieść motywy XML oparte na widoku do Compose.
Próbki
Poniższe przykłady pokazują systemy projektowania w Jetpack Compose:
Jetsnack is a sample snack ordering app built with Jetpack Compose.
To try out this sample app, use the latest stable version of Android Studio. You can clone this repository or import the project from Android Studio following the steps here.
This Jetnews is a sample news reading app, built with Jetpack Compose. The goal of the sample is to showcase the current UI capabilities of Compose.
To try out this sample app, use the latest stable version of Android Studio. You can clone this repository Jetcaster is a sample podcast app, built with Jetpack Compose. The goal of the sample is to showcase building with Compose across multiple form factors (mobile, TV, and Wear) and full featured architecture.
To try out this sample app, use the latest Jetchat is a sample chat app built with Jetpack Compose.
To try out this sample app, use the latest stable version of Android Studio. You can clone this repository or import the project from Android Studio following the steps here.
This sample Learn how this app was designed and built in the design case study, architecture learning journey and modularization learning journey.
This is the repository for the Now in Android app. It is a work in progress 🚧.
Now in Android is a fully functionalJetsnack sample
Jetnews sample
Jetcaster sample 🎙️
Jetchat sample
Now in Android App