android-flat-button
android-flat-button copied to clipboard
Color not changing
fbutton:buttonColor="@color/colorPrimary"
fbutton:shadowColor="@color/colorPrimaryDark"
Color not changing. Always shows the color the first color I have set.
It solved only after I have deleted the build folders in the project from explorer.
For me, it didn't change even after deleting the build folder...
The only way I could achieve setting a custom color was doing it programatically..
affter deleted deleted the build folders not solved.
do have any way to resolve the problem??
Solution Is: FButton fButton; fButton=(FButton) findViewById(R.id.fButton); fButton.setButtonColor(getResources().getColor(R.color.oreageColor));