Added setting configured color to button texts for messagebox on Android.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Wed, 24 Sep 2014 23:46:46 +0200
changeset 9151 4d9654187aed
parent 9150 5c42e467f6cd
child 9152 9ecf775ead1b
Added setting configured color to button texts for messagebox on Android.
android-project/src/org/libsdl/app/SDLActivity.java
--- a/android-project/src/org/libsdl/app/SDLActivity.java	Fri Sep 19 12:09:51 2014 -0400
+++ b/android-project/src/org/libsdl/app/SDLActivity.java	Wed Sep 24 23:46:46 2014 +0200
@@ -741,6 +741,9 @@
                 }
             }
             button.setText(buttonTexts[i]);
+            if (textColor != Color.TRANSPARENT) {
+                button.setTextColor(textColor);
+            }
             if (buttonBorderColor != Color.TRANSPARENT) {
                 // TODO set color for border of messagebox button
             }