0

I'm following that tip for change the color of a progress bar. The problem is that using that snipplet the corners of the progressbar turns squared. How can I keep the original corners look and change the colors? Thanks in advance

Community
  • 1
  • 1
Addev
  • 31,819
  • 51
  • 183
  • 302

1 Answers1

1

Try to assign each corner separately and put pixels instead of DIP, some manufacturers don't implement this feature correctly:

android:topLeftRadius="5px"
android:topRightRadius="5px"
android:bottomLeftRadius="5px"
android:bottomRightRadius="5px"
skoperst
  • 2,259
  • 1
  • 23
  • 35