MaterialDesignLibrary
MaterialDesignLibrary copied to clipboard
ButtonRectangle - setting text color from xml
Hello,
Setting textColor from code works great: gameButton.setTextColor(getResources().getColor(R.color.black));
But value from xml is ignored <com.gc.materialdesign.views.ButtonRectangle android:id="@+id/play_game" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@color/play_game_background" android:textColor="@color/black" android:text="@string/play_a_game" />
As a result, text stays white
+1 same issue. I can set the text color from java just fine using setTextColor(), but for some reason there is an issue with the textColor xml attribute. Did you ever find a solution to this?