How can we reduce the size of checkbox? Please give me an idea.
Maybe a different issue. I had a checkbox separate from the text
I did the drawable
bit and it didn't work for me. For me, I had a drawable
and the checkbox height was stubbornly at a set height, so no matter what, there was space around it. So, I, at first, used m layout_marginTop
and layout_marginBottom
to negative values, like -15 dip. I admit that it feels like a hack, but it almost worked. The other way was setting the layout_height="20dip"
which worked better.
Edit: this requires a layout that has setable
margins like Linear and Relative