Closed acappelli closed 10 years ago
try making changes in the Circularseekbar.java Begin with changing the values of all the DataMembers declared right in the beginning. I mean all the values which are declared as 'private static final float' right on the top. They have been declared as default values.
Sizes values are in 'f' (Floats) while color values are Direct color names or RGB values.
If you set the colors in XML, there are two colors that matter: "pointer_color" changes the color for the inner circle, as well as the ring that shows up when you are touching the pointer. "pointer_halo_color" changes the color for the halo around the inner circle. You can also use "pointer_alpha_ontouch" to change what the halo transparency when you touch the pointer.|
Right now there is no way to set a separate color for the halo when it is touched. I can add this in and create another XML attribute for it.
I added another attribute that you can use: pointer_halo_color_ontouch This attribute lets you change the color of the halo when the pointer is touched. You can use this in combination with the pointer_alpha_ontouch attribute to customize the pointer when touched.
EDIT: I also uploaded a quick demo project showing how to use a couple features, including custom colors: https://github.com/devadvance/circularseekbardemo
Thanks for this change!!
Initially I tried using xml but couldn't do it, even after disabling the 'DEFAULT_USE_CUSTOM_RADII'. I may have gone wrong somewhere.
Amazing! Thanks.
Hi! How to set color border of pointer halo on touch event? It's keep blue..