Issue
Here are my pics, It is the code in which i have written the color code
Here is android blueprint here the color doesn't change
I have tried many ways like adding through styles too it didn't work out.
I have also tried to change background tint but it doesn't help either.
how can i change the button color?
i have shared my code in pics above.
Help me to change color
Solution
Just close the xml and reopen it. You will be able to find the defined color in your xml view. There is nothing to do with theme. Its just Android studio xml updation delay.
If it is not working then add below line to your Button tag
app:backgroundTint="your color code"
Answered By - Priyanka
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.