-
Notifications
You must be signed in to change notification settings - Fork 240
Set Background Color removes Card Corner #37
Comments
you can edit the color of the card by heading to a drawable file called card.xml
|
Thank you for your reply. I tried to change " " to white color but it keeps going back to the pink color. Any idea why? |
Can you add your code snippet please so that I can see what you mean exactly? |
Thanks for your quick response. `
` Also, here is the XML activity code:
` |
After editing the
|
I tried include it as you said and still. The moment I run the application, it goes back to pink. |
I think I found out what is the problem. The card.xml is generated in the cache folder ( .gradle\caches\transforms-2\files-2.1\795effe27e728f2f816467819e16aa8f\res\drawable ) .. which is a " READ ONLY " file. Thus, you can't change it to any other color. I tried to change the permission from Windows manually, doesn't work. I will test it on Mac to see if there is a difference. |
By default MTF color is always Pink, it is not taking color accent value, and if changing the color using mtf attribute, then the card corners are not there. :(
The text was updated successfully, but these errors were encountered: