|
@@ -258,13 +258,13 @@ public class SendInfoConfirmFragment extends Fragment {
|
|
dialog.dismiss();
|
|
dialog.dismiss();
|
|
}).create();
|
|
}).create();
|
|
alertDialog.show();
|
|
alertDialog.show();
|
|
- alertDialog.getButton(androidx.appcompat.app.AlertDialog.BUTTON_POSITIVE).setBackgroundColor(Color.BLUE);
|
|
|
|
- alertDialog.getButton(androidx.appcompat.app.AlertDialog.BUTTON_POSITIVE).setTextSize(20);
|
|
|
|
- alertDialog.getButton(androidx.appcompat.app.AlertDialog.BUTTON_NEGATIVE).setTextSize(20);
|
|
|
|
|
|
+ alertDialog.getButton(AlertDialog.BUTTON_POSITIVE).setBackgroundColor(Color.BLUE);
|
|
|
|
+ alertDialog.getButton(AlertDialog.BUTTON_POSITIVE).setTextSize(20);
|
|
|
|
+ alertDialog.getButton(AlertDialog.BUTTON_NEGATIVE).setTextSize(20);
|
|
|
|
|
|
try {
|
|
try {
|
|
//获取mAlert对象
|
|
//获取mAlert对象
|
|
- Field mAlert = androidx.appcompat.app.AlertDialog.class.getDeclaredField("mAlert");
|
|
|
|
|
|
+ Field mAlert = AlertDialog.class.getDeclaredField("mAlert");
|
|
mAlert.setAccessible(true);
|
|
mAlert.setAccessible(true);
|
|
Object mAlertController = mAlert.get(alertDialog);
|
|
Object mAlertController = mAlert.get(alertDialog);
|
|
//获取mTitleView并设置大小颜色
|
|
//获取mTitleView并设置大小颜色
|
|
@@ -309,13 +309,13 @@ public class SendInfoConfirmFragment extends Fragment {
|
|
dialog.dismiss();
|
|
dialog.dismiss();
|
|
})).create();
|
|
})).create();
|
|
alertDialog.show();
|
|
alertDialog.show();
|
|
- alertDialog.getButton(androidx.appcompat.app.AlertDialog.BUTTON_POSITIVE).setBackgroundColor(Color.BLUE);
|
|
|
|
- alertDialog.getButton(androidx.appcompat.app.AlertDialog.BUTTON_POSITIVE).setTextSize(20);
|
|
|
|
- alertDialog.getButton(androidx.appcompat.app.AlertDialog.BUTTON_NEGATIVE).setTextSize(20);
|
|
|
|
|
|
+ alertDialog.getButton(AlertDialog.BUTTON_POSITIVE).setBackgroundColor(Color.BLUE);
|
|
|
|
+ alertDialog.getButton(AlertDialog.BUTTON_POSITIVE).setTextSize(20);
|
|
|
|
+ alertDialog.getButton(AlertDialog.BUTTON_NEGATIVE).setTextSize(20);
|
|
|
|
|
|
try {
|
|
try {
|
|
//获取mAlert对象
|
|
//获取mAlert对象
|
|
- Field mAlert = androidx.appcompat.app.AlertDialog.class.getDeclaredField("mAlert");
|
|
|
|
|
|
+ Field mAlert = AlertDialog.class.getDeclaredField("mAlert");
|
|
mAlert.setAccessible(true);
|
|
mAlert.setAccessible(true);
|
|
Object mAlertController = mAlert.get(alertDialog);
|
|
Object mAlertController = mAlert.get(alertDialog);
|
|
//获取mTitleView并设置大小颜色
|
|
//获取mTitleView并设置大小颜色
|
|
@@ -360,13 +360,13 @@ public class SendInfoConfirmFragment extends Fragment {
|
|
dialog.dismiss();
|
|
dialog.dismiss();
|
|
})).create();
|
|
})).create();
|
|
alertDialog.show();
|
|
alertDialog.show();
|
|
- alertDialog.getButton(androidx.appcompat.app.AlertDialog.BUTTON_POSITIVE).setBackgroundColor(Color.BLUE);
|
|
|
|
- alertDialog.getButton(androidx.appcompat.app.AlertDialog.BUTTON_POSITIVE).setTextSize(20);
|
|
|
|
- alertDialog.getButton(androidx.appcompat.app.AlertDialog.BUTTON_NEGATIVE).setTextSize(20);
|
|
|
|
|
|
+ alertDialog.getButton(AlertDialog.BUTTON_POSITIVE).setBackgroundColor(Color.BLUE);
|
|
|
|
+ alertDialog.getButton(AlertDialog.BUTTON_POSITIVE).setTextSize(20);
|
|
|
|
+ alertDialog.getButton(AlertDialog.BUTTON_NEGATIVE).setTextSize(20);
|
|
|
|
|
|
try {
|
|
try {
|
|
//获取mAlert对象
|
|
//获取mAlert对象
|
|
- Field mAlert = androidx.appcompat.app.AlertDialog.class.getDeclaredField("mAlert");
|
|
|
|
|
|
+ Field mAlert = AlertDialog.class.getDeclaredField("mAlert");
|
|
mAlert.setAccessible(true);
|
|
mAlert.setAccessible(true);
|
|
Object mAlertController = mAlert.get(alertDialog);
|
|
Object mAlertController = mAlert.get(alertDialog);
|
|
//获取mTitleView并设置大小颜色
|
|
//获取mTitleView并设置大小颜色
|