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
  • 19,723
  • 5
  • 59
  • 95
SHASHIDHAR MANCHUKONDA
  • 3,357
  • 2
  • 18
  • 39

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,887
  • 15
  • 14
0

set maxHeight and minHeight of seekbar properties. example:

maxHeight = 40dp
minHeight = 40dp