I am new to android development and I came across this issue when I was trying to create a custom button. I have created a simple drawable and I set it as the background of my button. But that doesn't work, at least not directly, first i have to add app:backgroundTint="@null
(which I got to know from here)
So what I want to do is set the default backgroundTint as 'null'. So where do I add this? Or any other way to achieve this?
Update:
I've found a solution to this and I've posted it.