Can i add my own text inside circle view?
YOU ARE THE MAN!!! Thanks for great library. i just want to replace my own textview with UNIT value inside Circle view. can i do this? can i add my custom views in Circle View?
please reply ASAP.
Any help will be appreciated.
Thanks.
- Kunal
You can show any text you want by setting:
circleView.setTextMode(TextMode.TEXT); // Set text mode to text to show text circleView.setText("Text"); //shows the given text in the circle view
This should work in combination with also showing the unit.
OK thanks for the information. But can I add button or any other view inside circle view?
As per requirement, I want to add start/stop button inside the circle view to start and stop the progress. Can I do something like this?
Thanks in advance.
On 08-Mar-2017 6:09 PM, "Jakob Grabner" [email protected] wrote:
You can show any text you want by setting: circleView.setTextMode(TextMode.TEXT); // Set text mode to text to show text circleView.setText("Text"); //shows the given text in the circle view
This should work in combination with also showing the unit.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jakob-grabner/Circle-Progress-View/issues/73#issuecomment-285030247, or mute the thread https://github.com/notifications/unsubscribe-auth/AYv9ZKC93AHL-q1tXAxBh1m4GXJB6plKks5rjqF6gaJpZM4MVN2G .
Of course you can, not directly with my lib, but just put the circleview in a viewgroup (like framelayout) and put a button on top of it.
hy @jakob-grabner please help me i'm unable to resize the text of circleView circleProgressView1.setTextMode(TextMode.TEXT); // Set text mode to text to show text circleProgressView1.setTextSize(18); circleProgressView1.setText("30/40"); i also have tried to change the text size using xml please help me out.