leaderboard 排行榜 category 分类浏览 code 独立开发者 notifications 通知中心 download 下载 App
person

登录 AppShare

默认使用账号密码登录,也可以切换邮箱验证码。

还没有账号?

person_add

注册 AppShare

创建账号后即可参与版本讨论和收藏提醒。

已有账号?

COUI 界面Demo

COUI 界面Demo

正式版
category 实用工具 / 小工具 update 1.0.9 (1465) storage 4.3MB
5 查看
0 讨论
6 收藏

new_releases 更新日志

COUI 2.0.0 moves the library from ColorOS 16 to the ColorOS 17 / COUI 17 design: popup material blur by default, the COUI 17 top bars, dialogs, sheets, tab layout, tooltips and overscroll, and colour and text style slots renamed after the official COUI attributes. This is a breaking release. Most projects need renames, and many components look different without any code change. Read the upgrade guide before updating. Breaking Colour and text style slots use the official COUI names, with no deprecated aliases: onBackground → labelPrimary, surface → backgroundWithCard, background → surface / backgroundElevated, main → bodyXL, title4 → headlineS, and so on. background, surface and secondary keep their names but now hold different colours. Tooltip is the COUI 17 tooltip (TooltipBox(state, tooltip) with Tooltip, IconTooltip, ImageTooltip); PlainTooltip, RichTooltip and RichTooltipBox are removed. TabRow is the ColorOS sliding tab layout (48dp row, underline indicator); TabRowWithContour stays the segment button. Compatibility APIs removed: Spinner*, the old DropdownItem constructor, ButtonDefaults.PressedScale, SquircleDefaults.Extension*. Smaller API changes in top bars, NavigationRail, FullPageStatement, text fields, search, pickers, sliders, checkboxes, TopTips and haptics; each is listed in the guide. Changed without any code edit on your side List, cascading and dropdown popups use the COUI 17 popup material blur by default. CardListGroup draws the row dividers itself; remove the dividers you placed between rows. COUI overscroll (rubber band, spring-back, scroll-edge haptic), the linear progressive blur falloff, and 4% less material blur spread with dither. Bottom sheets add no inside padding, hide the drag handle, and float centered on windows at least 600dp wide. Text fields are at least 62dp tall, with the COUI floating label. Added Search linked with the top bar: TopAppBarSearchBar, rememberTopAppBarSearchState, TopAppBar(searchState = …). It searches in place like the ColorOS 17 Settings home. Camera controls from the ColorOS camera: shutter, mode bar, zoom bar and dial, exposure and scale bars, focus indicator, level, grid, countdown and more. List, single-choice, multi-choice, progress and input dialogs; user / individual statement dialogs; FloatingToolbar(items = …); SuggestionChip, IconChip, ChipGroup; CompProgressIndicator; new preferences and badges. LocalCOUIMaterialEffectEnabled, an app-wide switch for every material effect. Baseline profiles for every library module. Dependencies implementation("io.github.suqi8.coui.kmp:coui-ui:2.0.0") implementation("io.github.suqi8.coui.kmp:coui-preference:2.0.0") implementation("io.github.suqi8.coui.kmp:coui-icons:2.0.0") Example app COUI-2.0.0-universal.apk is the demo app, signed with the release key.

description 应用介绍

COUI demo 基于miuix https://github.com/suqi8/coui/releases