Skip to content
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

Not able to add textviews #2

Open
senkanishka23 opened this issue Feb 29, 2024 · 2 comments
Open

Not able to add textviews #2

senkanishka23 opened this issue Feb 29, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@senkanishka23
Copy link

If I need to add the textview in the gap indicating the progress. What is the process for achieving this?
Here is the below reference
image

@seosh817
Copy link
Owner

seosh817 commented Mar 1, 2024

Hi, @senkanishka23!
Thank you for reporting the issue!

In my opinion, adding a TextView to the starting or ending point of each dashWidth, or adding it to the middle point of dashGap and providing the value using angleToProgress, seems like a potential solution.

Alternatively, another approach could involve accepting a List of Integers as a parameter representing the desired angles. Then, you could add a TextView containing the Progress value obtained using angleToProgress to the corresponding positions.

Furthermore, since TextViews have been added, it might be necessary to slightly decrease the radius to accommodate the TextView size.

@seosh817 seosh817 added the enhancement New feature or request label Mar 1, 2024
@seosh817 seosh817 self-assigned this Mar 1, 2024
@senkanishka23
Copy link
Author

Have you please push the code for the enhancement?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants