V3.0 09-27 Tab指针居中问题未解决
This commit is contained in:
@ -432,13 +432,13 @@ public class DialogUtils {
|
||||
Button positiveBtn = alertDialog.getButton(android.app.AlertDialog.BUTTON_POSITIVE);
|
||||
Button negativeBtn = alertDialog.getButton(android.app.AlertDialog.BUTTON_NEGATIVE);
|
||||
|
||||
positiveBtn.setTextSize(13);
|
||||
positiveBtn.setTextSize(14);
|
||||
positiveBtn.setTextColor(ContextCompat.getColor(context, R.color.theme));
|
||||
negativeBtn.setTextSize(13);
|
||||
negativeBtn.setTextSize(14);
|
||||
negativeBtn.setTextColor(ContextCompat.getColor(context, R.color.theme));
|
||||
if (mesage != null) {
|
||||
mesage.setTextSize(13);
|
||||
mesage.setTextColor(ContextCompat.getColor(context, R.color.title));
|
||||
mesage.setTextSize(14);
|
||||
mesage.setTextColor(ContextCompat.getColor(context, R.color.system_bar));
|
||||
mesage.setLineSpacing(1.0f, 1.3f);
|
||||
}
|
||||
|
||||
@ -477,13 +477,13 @@ public class DialogUtils {
|
||||
Button positiveBtn = alertDialog.getButton(android.app.AlertDialog.BUTTON_POSITIVE);
|
||||
Button negativeBtn = alertDialog.getButton(android.app.AlertDialog.BUTTON_NEGATIVE);
|
||||
|
||||
positiveBtn.setTextSize(13);
|
||||
positiveBtn.setTextSize(14);
|
||||
positiveBtn.setTextColor(ContextCompat.getColor(context, R.color.theme));
|
||||
negativeBtn.setTextSize(13);
|
||||
negativeBtn.setTextSize(14);
|
||||
negativeBtn.setTextColor(ContextCompat.getColor(context, R.color.hint));
|
||||
if (mesage != null) {
|
||||
mesage.setTextSize(13);
|
||||
mesage.setTextColor(ContextCompat.getColor(context, R.color.title));
|
||||
mesage.setTextSize(14);
|
||||
mesage.setTextColor(ContextCompat.getColor(context, R.color.system_bar));
|
||||
mesage.setLineSpacing(1.0f, 1.3f);
|
||||
}
|
||||
|
||||
@ -528,13 +528,13 @@ public class DialogUtils {
|
||||
Button positiveBtn = alertDialog.getButton(android.app.AlertDialog.BUTTON_POSITIVE);
|
||||
Button negativeBtn = alertDialog.getButton(android.app.AlertDialog.BUTTON_NEGATIVE);
|
||||
|
||||
positiveBtn.setTextSize(13);
|
||||
positiveBtn.setTextSize(14);
|
||||
positiveBtn.setTextColor(ContextCompat.getColor(context, R.color.theme));
|
||||
negativeBtn.setTextSize(13);
|
||||
negativeBtn.setTextSize(14);
|
||||
negativeBtn.setTextColor(ContextCompat.getColor(context, R.color.hint));
|
||||
if (mesage != null) {
|
||||
mesage.setTextSize(13);
|
||||
mesage.setTextColor(ContextCompat.getColor(context, R.color.title));
|
||||
mesage.setTextSize(14);
|
||||
mesage.setTextColor(ContextCompat.getColor(context, R.color.system_bar));
|
||||
mesage.setLineSpacing(1.0f, 1.3f);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user