Open gregacucnik opened 8 years ago
Hello hotchemi, Do you have any update for this issue? I also need to change the button text color.
@gregacucnik, @jmhabuild try use ContextThemeWrapper
to make dialog look other dialogs in your app.
For example I`ve used method like this:
public static ContextThemeWrapper getAlertDialogContext(Context context) {
return new ContextThemeWrapper(context, R.style.AlertDialog);
}
Style AlertDialog
is defined in styles as:
<style name="AlertDialog" parent="Theme.AppCompat.Light.Dialog">
<item name="android:textColorPrimary">@color/black</item>
<item name="android:textColor">@color/primaryColor</item>
</style>
After that, just call AppRate.with(getAlertDialogContext(this)).// other parameters
It should help.
For some reason dialog button text color is red and not primary color. If i remember correctly it used to work and text was colored by primary color.
Could you add an option to set buttons text color?