此示例演示了如何使用 Compose 创建界面。
精选
“Now in Android”是一款使用 Kotlin 和 Jetpack Compose 构建的功能齐全的 Android 应用。它采用了 Android 设计和开发最佳实践,旨在为开发者提供实用的参考资源。

过滤条件

等级

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

  • Android 架构界面层
  • Android 架构
  • Jetpack Compose 导航
  • Android 界面状态生产
  • Android 测试
  • Jetpack Compose 架构和状态
  • Android 架构界面事件
  • Android 界面状态容器 (state holder)
  • Android 架构数据层
  • Jetpack Compose 测试
  • Kotlin
中级

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
  • Android 穿戴式设备
  • Kotlin
中级

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
  • Jetpack Compose 布局
  • Kotlin
中级

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
  • Android 架构界面层
  • Jetpack Compose 设计系统
  • Jetpack Compose 动画
  • Android Compose
  • Kotlin
高级

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
  • Android 架构界面层
  • Jetpack Compose 文本
  • Android 界面状态生产
  • Jetpack Compose 设计系统
  • Jetpack Compose 架构和状态
  • Jetpack Compose 动画
  • Android 架构界面事件
  • Android Compose
  • Jetpack Compose 测试
  • Kotlin
新手

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
  • Jetpack Compose 布局
  • Jetpack Compose 动画
  • Jetpack Compose 图形
  • Kotlin
高级

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
  • Android 架构界面层
  • Jetpack Compose 导航
  • Android 界面状态生产
  • Jetpack Compose 设计系统
  • Jetpack Compose 布局
  • Jetpack Compose 架构和状态
  • Android Compose
  • Jetpack Compose 测试
  • Kotlin
中级

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
  • Jetpack Compose 设计系统
  • Jetpack Compose 布局
  • Jetpack Compose 动画
  • Android Compose
  • Kotlin
高级

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

  • Jetpack Compose 架构和状态
  • Android 架构网域层
  • Jetpack Compose 无障碍功能
  • Android 架构数据层
  • Android 架构界面层
  • Jetpack Compose 动画
  • Jetpack Compose 测试
  • Android 界面状态生产
  • Android 架构
  • Jetpack Compose 导航
  • Android 界面状态容器 (state holder)
  • Android 测试
  • Jetpack Compose 设计系统
  • Kotlin
高级

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
  • Android 穿戴式设备
  • Java
中级