how can we reduce the size of checkbox please give me an idea

前端 未结 7 940
时光说笑
时光说笑 2021-01-16 00:11

How can we reduce the size of checkbox? Please give me an idea.

相关标签:
7条回答
  • 2021-01-16 00:53

    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

    0 讨论(0)
提交回复
热议问题