优化:界面微调(增加输入框提示等)

This commit is contained in:
pppscn 2022-03-06 15:38:32 +08:00
parent 510d7d5c91
commit bed675fb0d
2 changed files with 13 additions and 13 deletions

View File

@ -257,7 +257,7 @@ public class RuleActivity extends AppCompatActivity {
Button buttonRuleOk = view1.findViewById(R.id.buttonRuleOk);
Button buttonRuleDel = view1.findViewById(R.id.buttonRuleDel);
buttonRuleDel.setText(ruleModel != null ? "删除" : "取消");
buttonRuleDel.setText(ruleModel != null ? R.string.del : R.string.cancel);
Button buttonRuleTest = view1.findViewById(R.id.buttonRuleTest);
alertDialog71
.setTitle(getDialogTitle(currentType))

View File

@ -442,7 +442,7 @@ public class SenderActivity extends AppCompatActivity {
Button buttonOk = view1.findViewById(R.id.buttonOk);
Button buttonDel = view1.findViewById(R.id.buttonDel);
buttonDel.setText(senderModel != null ? "删除" : "取消");
buttonDel.setText(senderModel != null ? R.string.del : R.string.cancel);
Button buttonTest = view1.findViewById(R.id.buttonTest);
alertDialog71
.setTitle(R.string.setdingdingtitle)
@ -576,7 +576,7 @@ public class SenderActivity extends AppCompatActivity {
Button buttonOk = view1.findViewById(R.id.buttonOk);
Button buttonDel = view1.findViewById(R.id.buttonDel);
buttonDel.setText(senderModel != null ? "删除" : "取消");
buttonDel.setText(senderModel != null ? R.string.del : R.string.cancel);
Button buttonTest = view1.findViewById(R.id.buttonTest);
alertDialog71
.setTitle(R.string.setemailtitle)
@ -781,7 +781,7 @@ public class SenderActivity extends AppCompatActivity {
Button buttonOk = view1.findViewById(R.id.buttonOk);
Button buttonDel = view1.findViewById(R.id.buttonDel);
buttonDel.setText(senderModel != null ? "删除" : "取消");
buttonDel.setText(senderModel != null ? R.string.del : R.string.cancel);
Button buttonTest = view1.findViewById(R.id.buttonTest);
alertDialog71
.setTitle(R.string.setbarktitle)
@ -993,7 +993,7 @@ public class SenderActivity extends AppCompatActivity {
Button buttonOk = view1.findViewById(R.id.buttonOk);
Button buttonDel = view1.findViewById(R.id.buttonDel);
buttonDel.setText(senderModel != null ? "删除" : "取消");
buttonDel.setText(senderModel != null ? R.string.del : R.string.cancel);
Button buttonTest = view1.findViewById(R.id.buttonTest);
alertDialog71
.setTitle(R.string.setwebnotifytitle)
@ -1101,7 +1101,7 @@ public class SenderActivity extends AppCompatActivity {
Button buttonOk = view1.findViewById(R.id.buttonOk);
Button buttonDel = view1.findViewById(R.id.buttonDel);
buttonDel.setText(senderModel != null ? "删除" : "取消");
buttonDel.setText(senderModel != null ? R.string.del : R.string.cancel);
Button buttonTest = view1.findViewById(R.id.buttonTest);
alertDialog71
.setTitle(R.string.setqywxgrouprobottitle)
@ -1220,7 +1220,7 @@ public class SenderActivity extends AppCompatActivity {
Button buttonOk = view1.findViewById(R.id.buttonOk);
Button buttonDel = view1.findViewById(R.id.buttonDel);
buttonDel.setText(senderModel != null ? "删除" : "取消");
buttonDel.setText(senderModel != null ? R.string.del : R.string.cancel);
Button buttonTest = view1.findViewById(R.id.buttonTest);
alertDialog71
.setTitle(R.string.setqywxapptitle)
@ -1338,7 +1338,7 @@ public class SenderActivity extends AppCompatActivity {
Button buttonOk = view1.findViewById(R.id.buttonOk);
Button buttonDel = view1.findViewById(R.id.buttonDel);
buttonDel.setText(senderModel != null ? "删除" : "取消");
buttonDel.setText(senderModel != null ? R.string.del : R.string.cancel);
Button buttonTest = view1.findViewById(R.id.buttonTest);
alertDialog71
.setTitle(R.string.setserverchantitle)
@ -1491,7 +1491,7 @@ public class SenderActivity extends AppCompatActivity {
Button buttonOk = view1.findViewById(R.id.buttonOk);
Button buttonDel = view1.findViewById(R.id.buttonDel);
buttonDel.setText(senderModel != null ? "删除" : "取消");
buttonDel.setText(senderModel != null ? R.string.del : R.string.cancel);
Button buttonTest = view1.findViewById(R.id.buttonTest);
alertDialog71
.setTitle(R.string.settelegramtitle)
@ -1664,7 +1664,7 @@ public class SenderActivity extends AppCompatActivity {
Button buttonOk = view1.findViewById(R.id.buttonOk);
Button buttonDel = view1.findViewById(R.id.buttonDel);
buttonDel.setText(senderModel != null ? "删除" : "取消");
buttonDel.setText(senderModel != null ? R.string.del : R.string.cancel);
Button buttonTest = view1.findViewById(R.id.buttonTest);
alertDialog71
.setTitle(R.string.setsmstitle)
@ -1795,7 +1795,7 @@ public class SenderActivity extends AppCompatActivity {
Button buttonOk = view1.findViewById(R.id.buttonOk);
Button buttonDel = view1.findViewById(R.id.buttonDel);
buttonDel.setText(senderModel != null ? "删除" : "取消");
buttonDel.setText(senderModel != null ? R.string.del : R.string.cancel);
Button buttonTest = view1.findViewById(R.id.buttonTest);
alertDialog71
.setTitle(R.string.setfeishutitle)
@ -1944,7 +1944,7 @@ public class SenderActivity extends AppCompatActivity {
Button buttonOk = view1.findViewById(R.id.buttonOk);
Button buttonDel = view1.findViewById(R.id.buttonDel);
buttonDel.setText(senderModel != null ? "删除" : "取消");
buttonDel.setText(senderModel != null ? R.string.del : R.string.cancel);
Button buttonTest = view1.findViewById(R.id.buttonTest);
alertDialog71
.setTitle(R.string.setpushplustitle)
@ -2098,7 +2098,7 @@ public class SenderActivity extends AppCompatActivity {
Button buttonOk = view1.findViewById(R.id.buttonOk);
Button buttonDel = view1.findViewById(R.id.buttonDel);
buttonDel.setText(senderModel != null ? "删除" : "取消");
buttonDel.setText(senderModel != null ? R.string.del : R.string.cancel);
Button buttonTest = view1.findViewById(R.id.buttonTest);
alertDialog71
.setTitle(R.string.setgotifytitle)