0

enter image description here

I am having problem with custom seek bar I am not getting same as i expect, I am using 2nd image as progress drawable and first as thumb, but when i use wrap content it is small and when i use fill parent it is repeating and the seek bar different from the 2nd image in the UI?

artless noise
  • 21,212
  • 6
  • 68
  • 105
SHASHIDHAR MANCHUKONDA
  • 3,302
  • 2
  • 19
  • 40

2 Answers2

0

You should use Nine-path graphics. With this android will automatically resize your image based on borders you provide in graphics.

Blaz
  • 1,935
  • 15
  • 14
0

set maxHeight and minHeight of seekbar properties. example:

maxHeight = 40dp
minHeight = 40dp