Skip to content

Progress Ring & Progress Bar Changes #358

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

meethjain
Copy link
Collaborator

@meethjain meethjain commented Apr 28, 2025

This pull request introduces enhancements to the ProgressBar JSON sample and implements a new ProgressRing renderer for Android. The changes improve visual representation in the JSON sample and add functionality for rendering progress rings in Android applications.

Changes to ProgressBar JSON sample:

  • Added multiple Container elements with distinct styles (default, emphasis, good, warning, attention) to demonstrate progress bars with various colors and configurations, such as value, max, and roundedCorners. [1] [2] [3] [4] [5]

Implementation of ProgressRing renderer for Android:

  • Introduced ProgressRingRenderer in ProgressRingRenderer.kt to render ProgressRing elements in Android. This includes:
    • Creating a LinearLayout to host the progress ring.
    • Configuring a CircularProgressIndicator with properties such as size, label, and horizontalAlignment.
    • Added support for different sizes (Tiny, Small, Medium, Large) and alignment options (Left, Center, Right). [1] [2]# Related Issue

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