Wear Remote Compose Material 3
使用 Material 3 Expressive 設計系統,為 Wear OS 編寫小工具和其他 Remote UI。
| 最近更新時間 | 穩定版 | 候選版 | Beta 版 | Alpha 版 |
|---|---|---|---|---|
| 2026 年 4 月 8 日 | - | - | - | 1.0.0-alpha02 |
宣告依附元件
如要新增 wear compose remote 的依附元件,必須將 Google Maven 存放區新增至專案。詳情請參閱 Google 的 Maven 存放區。
在應用程式或模組的 build.gradle 檔案中,新增所需構件的依附元件:
Groovy
dependencies { implementation "androidx.wear.compose.remote:remote-material3:1.0.0-alpha02" }
Kotlin
dependencies { implementation("androidx.wear.compose.remote:remote-material3:1.0.0-alpha02") }
如要進一步瞭解依附元件,請參閱「新增建構依附元件」一文。
意見回饋
您的意見可協助我們改善 Jetpack。如果您發現新問題,或是有改進這個程式庫的建議,請告訴我們。回報新問題前,請先查看這個程式庫的現有問題。只要按一下星號按鈕,即可投票給現有的問題。
詳情請參閱 Issue Tracker 說明文件。
1.0 版本
1.0.0-alpha02 版
2026 年 4 月 8 日
發布 androidx.wear.compose.remote:remote-material3:1.0.0-alpha02。1.0.0-alpha02 版包含這些修訂項目。
API 變更
- 公開
RemoteCircularProgressIndicator、RemoteProgressIndicatorDefaults和RemoteProgressIndicatorColors(I64481、b/492476015) - 公開
RemoteTitleCard(Ic65ff、b/492476015) - 公開
RemoteMaterialTheme(I07329、b/492476015) - 公開
RemoteAppCard(Ib6fbc、b/492476015) - 公開
RemoteCard、RemoteOutlinedCard、RemoteCardDefaults和RemoteCardColors(I2bcfd、b/492476015) - 公開
RemoteColorScheme(Id0e88、b/492476015) - 公開
RemoteTypography(Ib6f88、b/492476015) - 公開
RemoteShapes(I6c356、b/492476015)
其他變更
- Compose
compileSdk更新至 API 37。也就是說,使用 Compose 時,AGP 最低版本必須為 9.2.0。(Id45cd、b/413674743)
1.0.0-alpha01 版
2026 年 3 月 25 日
發布 androidx.wear.compose.remote:remote-material3:1.0.0-alpha01。1.0.0-alpha01 版包含這些修訂項目。
API 變更
- 公開
RemoteTextButton公用 API。(I169e3、b/492476015) - 公開
RemoteIconButton公用 API。(Id7c71、b/492476015) - 公開
RemoteButtonGroup公用 API。(Ibfc22、b/492476015) - 將
RemoteButton、RemoteCompactButton、RemoteButtonDefaults和RemoteButtonColors公開為 API (I3bcdd、b/492476015) - 將
RemoteIcon公用 API (I0cc79、b/492476015) 公開 - 將
RemoteText公開為公開 API (I8a11a、b/492476015) - 公開
RemoteFloat.asRemoteDp()(I28b36、b/446824085)