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 91514d9654187aed
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
     1.1 --- a/android-project/src/org/libsdl/app/SDLActivity.java	Fri Sep 19 12:09:51 2014 -0400
     1.2 +++ b/android-project/src/org/libsdl/app/SDLActivity.java	Wed Sep 24 23:46:46 2014 +0200
     1.3 @@ -741,6 +741,9 @@
     1.4                  }
     1.5              }
     1.6              button.setText(buttonTexts[i]);
     1.7 +            if (textColor != Color.TRANSPARENT) {
     1.8 +                button.setTextColor(textColor);
     1.9 +            }
    1.10              if (buttonBorderColor != Color.TRANSPARENT) {
    1.11                  // TODO set color for border of messagebox button
    1.12              }