Android Development: Custom Ratingbar icon Display not complete solution

Source: Internet
Author: User

Want to customize a ratingbar, online has a lot of tutorials, step by step definition, run, suddenly found the display is incomplete, as follows:



Very depressed, can not find the reason, online search, found a lot of answers, are not solved, there is a way to reduce the resolution of the picture, as the answer says


Http://stackoverflow.com/questions/12382632/how-to-set-the-custom-size-of-the-stars-in-ratingbar


However, why others run well, suddenly inspired a now, the custom Ratingbar drawable resources from ldpi to hdpi, the problem solved, the original system will follow different files, adopt different compression methods, the solution is so simple.


Move a custom picture from ldpi to hdpi


Because the internet did not see this solution, it is recorded here, hoping to give a reference.


Android Development: Custom Ratingbar icon Display not complete solution

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.