V3.0 09-27 Tab指针居中问题未解决

This commit is contained in:
kehaoyuan
2017-09-28 15:25:06 +08:00
parent 433646b455
commit 6eb1aefb1c
19 changed files with 126 additions and 96 deletions

View File

@ -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);
}