Skip to content

fix(android): align Glance component props#173

Merged
V3RON merged 3 commits into
mainfrom
codex/audit-renderer-prop-bindings
Jun 3, 2026
Merged

fix(android): align Glance component props#173
V3RON merged 3 commits into
mainfrom
codex/audit-renderer-prop-bindings

Conversation

@V3RON
Copy link
Copy Markdown
Contributor

@V3RON V3RON commented Jun 3, 2026

What is this?

This PR aligns the Android widget component surface with the Glance APIs it renders through. In particular, CircularProgressIndicator no longer exposes a progress prop because Glance renders that component as indeterminate-only.

How does it work?

The component schema and generated bindings now keep progress support on LinearProgressIndicator only. The Android docs also describe circular progress as indeterminate without documenting an ignored progress option.

Why is this useful?

This prevents Android widget authors from passing a prop that cannot affect rendering, keeps generated types closer to runtime behavior, and makes the documentation clearer for status components.

V3RON added 3 commits June 3, 2026 08:54
Remove the unsupported CircularProgressIndicator progress prop from the Android widget surface and regenerate component bindings/docs.
Restore the Android TitleBar startIcon contract to match Glance and keep generated bindings and docs consistent.
Keep tintColor available as a backwards-compatible alias while also exposing Glance-style colorFilter.
@V3RON V3RON merged commit 98eb3d7 into main Jun 3, 2026
12 checks passed
@V3RON V3RON deleted the codex/audit-renderer-prop-bindings branch June 3, 2026 07:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant