Android - Spacing between CheckBox and text

前端 未结 29 2888
广开言路
广开言路 2020-11-27 09:24

Is there an easy way to add padding between the checkbox in a CheckBox control, and the associated text?

I cannot just add leading spaces, because my label is multi-

29条回答
  •  清歌不尽
    2020-11-27 09:55

    If you are creating custom buttons, e.g. see change look of checkbox tutorial

    Then simply increase the width of btn_check_label_background.9.png by adding one or two more columns of transparent pixels in the center of the image; leave the 9-patch markers as they are.

提交回复
热议问题