hoang8f / android-flat-button

FButton - a flat button library for Android
Apache License 2.0
1.4k stars 327 forks source link

Color not changing #34

Open mathiazhagan01 opened 7 years ago

mathiazhagan01 commented 7 years ago
    fbutton:buttonColor="@color/colorPrimary"
    fbutton:shadowColor="@color/colorPrimaryDark"

Color not changing. Always shows the color the first color I have set.

mathiazhagan01 commented 7 years ago

It solved only after I have deleted the build folders in the project from explorer.

acsbendi commented 5 years ago

For me, it didn't change even after deleting the build folder...

acsbendi commented 5 years ago

The only way I could achieve setting a custom color was doing it programatically..

Ali2670 commented 5 years ago

affter deleted deleted the build folders not solved.

do have any way to resolve the problem??

amarsky56 commented 5 years ago

Solution Is: FButton fButton; fButton=(FButton) findViewById(R.id.fButton); fButton.setButtonColor(getResources().getColor(R.color.oreageColor));