mirror of https://github.com/encounter/SDL.git
Added setting configured color to button texts for messagebox on Android.
This commit is contained in:
parent
53feb22897
commit
788a2e4597
|
@ -741,6 +741,9 @@ public class SDLActivity extends Activity {
|
|||
}
|
||||
}
|
||||
button.setText(buttonTexts[i]);
|
||||
if (textColor != Color.TRANSPARENT) {
|
||||
button.setTextColor(textColor);
|
||||
}
|
||||
if (buttonBorderColor != Color.TRANSPARENT) {
|
||||
// TODO set color for border of messagebox button
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue