AnderWeb / discreteSeekBar

Apache License 2.0
2.11k stars 400 forks source link

How to set layoutheight ? #77

Open ouleiqi opened 8 years ago

ouleiqi commented 8 years ago

I have set layout_height="50dp" .

It not work!

p-fischer commented 7 years ago

I faced the same problem. my workaround was to use layout_height="wrap_content". Then I determined the actual size as max(thumb_size, 32dp). I reached my desired height by adding padding_top and padding_bottom equally.