I created a listview with drawables say 1,2,3.
I created a button which also has drawable 1.
When I click on the listview item with drawable 1, the drawable from the button disappears.
Any ideas?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Your problem may be caused by the fact that drawables are always shared from a constant
Drawablesource. If you want to change the characteristics of one of your drawables, you need to callmutate()on it so that your other drawables sharing the same base are not affected. With acknowledgments to Google:Here is the page where that came from.