RadioButton and checkbox background picture tensile deformation problem

Source: Internet
Author: User

Set the Text property of the RadioButton, just need to have this property can (set "" The content on the line), and then add the Textsize property, the Font Size property value is set to small, I set to 2SP. After the operation we will find that the image deformation problem no longer exists. Prefect solution, this is found on the Internet solution.

Of course some can also completely without RadioButton and Checkbutton, and with the background of ImageView to solve the selection effect of the implementation, Because RadioButton and Checkbutton sometimes have the problem of grabbing focus, leading to some puzzling problems. For example, my ListView's Click event and CheckBox, and the RadioButton event, can also be used to mask the focus usage of RadioButton and Checkbutton by setting Focusable's XML settings. Hey.

RadioButton and checkbox background picture tensile deformation problem

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.