ButtonFlat Color does not change.
MrThiago opened this issue · comments
Thiago commented
<com.gc.materialdesign.views.ButtonFlat
android:id="@+id/bt_skip_login"
android:onClick="autoLogin"
android:layout_above="@+id/login_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:background="#FFFFFF"
android:text="Skip Login" />
The colour of this BT remains BLUE. Any advice pls; how can I change it to White. thank you.
Jonathan commented
Try defining your own color xml. the below works perfectly fine for me.
<com.gc.materialdesign.views.ButtonRectangle
android:id="@+id/button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@color/ColorPrimary"
android:text="Button" />