Solve some mobile phone radiobutton under Android system cannot be centered (such as Samsung G3508)

Source: Internet
Author: User

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/6B/D1/wKiom1U3WWrQy_a0AABkL6oPY6Y957.jpg "title=" Cccc.jpg "alt=" Wkiom1u3wwrqy_a0aabkl6opy6y957.jpg "/>

In the development of the project process encountered a wonderful problem, that is to use RadioButton to achieve tab tab effect when the content is centered but still can not be effective, or an offset, but in other phones but normal, such as in the Note3 phone can be normal display, after several twists and ends finally solved, Very excited, the solution is as follows:

Each RadioButton Backgournd set a background or transparent on the line, the network is also said to be set PADDINGLEFT=0DP can also be resolved, after my test can also solve this problem, the final ideal effect is as follows:

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/6B/D1/wKiom1U3V_-CxYwuAAA7fiin1_s608.jpg "title=" Bbbb.jpg "alt=" Wkiom1u3v_-cxywuaaa7fiin1_s608.jpg "/>

Welcome to join the Mobile Internet QQ Group discussion study: 285077071

This article is from the "Fukung-Mobile internet Technology" blog, please be sure to keep this source http://kinbos.blog.51cto.com/2092114/1637175

Solve some mobile phone radiobutton under Android system cannot be centered (such as Samsung G3508)

Related Article

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.