mirror of
https://github.com/yawut/SDL.git
synced 2026-08-20 15:54:10 -05:00
Added setting configured color to button texts for messagebox on Android.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user