Closed ghost closed 8 years ago
What can be the problem? Help Me.
Hi, I have the same issue. The "button layout" background is dark. Any idea to fix it ? I tried to change the app Theme from light to dark => no effect. So frustrating ='(
I found the problem.
It seems to be the :
It should be fixed using the latest update. Thanks!
dependencies {
compile 'com.github.javiersantos:MaterialStyledDialogs:1.3.1'
}
I would like to use 2 colors (HeaderColor = primary color & [Text , Button] = white color).
new MaterialStyledDialog(CargoPlaceActivity.this) // .setTitle("Logout!") .setDescription("Are you sure, you want to logout ?") .setIcon(R.drawable.splash) .withDialogAnimation(true, Duration.SLOW) .setCancelable(false) .setPositive(getResources().getString(R.string.positive_button), new MaterialDialog.SingleButtonCallback() { @Override public void onClick(MaterialDialog dialog, DialogAction which) { // } }) .setNegative(getResources().getString(R.string.negative_button), new MaterialDialog.SingleButtonCallback() { @Override public void onClick(MaterialDialog dialog, DialogAction which) { // } }) .show();