Các mẫu làm việc minh hoạ cách tạo giao diện người dùng bằng Compose.
Nổi bật
Now in Android là một ứng dụng Android có đầy đủ chức năng được xây dựng bằng Kotlin và Jetpack Compose. Ứng dụng này mô hình hoá các phương pháp hay nhất về thiết kế và phát triển Android, đồng thời được thiết kế để trở thành tài liệu tham khảo hữu ích cho các nhà phát triển.

Lọc theo

Cấp độ

These samples showcase different architectural approaches to developing Android apps. In its different branches you'll find the same app (a TODO app) implemented with small differences. In this branch you'll find: User Interface built with Jetpack

  • Lớp giao diện người dùng của kiến trúc Android
  • Kiến trúc Android
  • Thành phần điều hướng trong Jetpack Compose
  • Quá trình tạo trạng thái của giao diện người dùng Android
  • Kiểm thử Android
  • Kiến trúc và trạng thái trong Jetpack Compose
  • Sự kiện trên giao diện người dùng cho kiến trúc Android
  • Phần tử giữ trạng thái của giao diện người dùng Android
  • Lớp dữ liệu của kiến trúc Android
  • Chức năng kiểm tra trong Jetpack Compose
  • Kotlin
Trung cấp

Demonstrates a simple "Hello, World" starter project for using Compose with Wear OS.

  • setContent
  • background
  • Arrangement
  • Column
  • fillMaxSize
  • fillMaxWidth
  • Composable
  • Modifier
  • stringResource
  • TextAlign
  • Preview
  • ExperimentalWearMaterialApi
  • MaterialTheme
  • Text
  • Thiết bị đeo Android
  • Kotlin
Trung cấp

This Android sample app demonstrates how to use state-of-the-art generative AI models (like Gemini) to build AI-powered features and applications. To try out this sample app, you need to use latest stable version of Android Studio. However, if you

  • Composable
  • Bố cục Jetpack Compose
  • Kotlin
Trung cấp

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

  • Composable
  • Lớp giao diện người dùng của kiến trúc Android
  • Hệ thống thiết kế trong Jetpack Compose
  • Ảnh động Jetpack Compose
  • Compose cho Android
  • Kotlin
Nâng cao

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

  • Composable
  • Lớp giao diện người dùng của kiến trúc Android
  • Văn bản trong Jetpack Compose
  • Quá trình tạo trạng thái của giao diện người dùng Android
  • Hệ thống thiết kế trong Jetpack Compose
  • Kiến trúc và trạng thái trong Jetpack Compose
  • Ảnh động Jetpack Compose
  • Sự kiện trên giao diện người dùng cho kiến trúc Android
  • Compose cho Android
  • Chức năng kiểm tra trong Jetpack Compose
  • Kotlin
Sơ cấp

JetLagged is a sample sleep tracking 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

  • Composable
  • Bố cục Jetpack Compose
  • Ảnh động Jetpack Compose
  • Đồ hoạ Jetpack Compose
  • Kotlin
Nâng cao

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

  • Composable
  • Lớp giao diện người dùng của kiến trúc Android
  • Thành phần điều hướng trong Jetpack Compose
  • Quá trình tạo trạng thái của giao diện người dùng Android
  • Hệ thống thiết kế trong Jetpack Compose
  • Bố cục Jetpack Compose
  • Kiến trúc và trạng thái trong Jetpack Compose
  • Compose cho Android
  • Chức năng kiểm tra trong Jetpack Compose
  • Kotlin
Trung cấp

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

  • Composable
  • Hệ thống thiết kế trong Jetpack Compose
  • Bố cục Jetpack Compose
  • Ảnh động Jetpack Compose
  • Compose cho Android
  • Kotlin
Nâng cao

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 functional

  • Kiến trúc và trạng thái trong Jetpack Compose
  • Lớp miền của kiến trúc Android
  • Chức năng hỗ trợ tiếp cận trong Jetpack Compose
  • Lớp dữ liệu của kiến trúc Android
  • Lớp giao diện người dùng của kiến trúc Android
  • Ảnh động Jetpack Compose
  • Chức năng kiểm tra trong Jetpack Compose
  • Quá trình tạo trạng thái của giao diện người dùng Android
  • Kiến trúc Android
  • Thành phần điều hướng trong Jetpack Compose
  • Phần tử giữ trạng thái của giao diện người dùng Android
  • Kiểm thử Android
  • Hệ thống thiết kế trong Jetpack Compose
  • Kotlin
Nâng cao

A sample that shows how you can record voice using the microphone on a wearable and play the recorded voice, if the wearable device is connected to a speaker (bluetooth or built-in). If you want to learn how to play media content on Wear OS, refer to

  • AudioTrack
  • AudioRecord
  • Thiết bị đeo Android
  • Java
Trung cấp