style: soften balloon settings page

This commit is contained in:
7015725
2026-05-14 23:24:48 +08:00
parent 8907a2d5d8
commit 7079b633bb
5 changed files with 37 additions and 57 deletions

View File

@@ -407,7 +407,7 @@ FloatBallAppWM.prototype.createSettingItemView = function(item, parent, needDivi
}
refreshBallShortXPreview();
var btnPick = self.ui.createFlatButton(self, "选择图标", primary, function() {
var btnPick = self.ui.createFlatButton(self, "换一个", primary, function() {
self.touchActivity();
self.showShortXIconPickerPopup({
currentName: String(self.getPendingValue(item.key) || ""),
@@ -430,7 +430,7 @@ FloatBallAppWM.prototype.createSettingItemView = function(item, parent, needDivi
gapView.setLayoutParams(new android.widget.LinearLayout.LayoutParams(self.dp(8), 1));
iconRow.addView(gapView);
var btnClear = self.ui.createFlatButton(self, "清空", secColor, function() {
var btnClear = self.ui.createFlatButton(self, "不用图标", secColor, function() {
self.touchActivity();
try {
self.setPendingValue(item.key, "");
@@ -484,7 +484,7 @@ FloatBallAppWM.prototype.createSettingItemView = function(item, parent, needDivi
}
refreshBallColorPreview();
var btnColor = self.ui.createFlatButton(self, "选择颜色", primary, function() {
var btnColor = self.ui.createFlatButton(self, "颜色", primary, function() {
self.touchActivity();
self.showColorPickerPopup({
currentColor: String(self.getPendingValue(item.key) || ""),
@@ -505,7 +505,7 @@ FloatBallAppWM.prototype.createSettingItemView = function(item, parent, needDivi
gapColorView.setLayoutParams(new android.widget.LinearLayout.LayoutParams(self.dp(8), 1));
colorRow.addView(gapColorView);
var btnClearColor = self.ui.createFlatButton(self, "清空", secColor, function() {
var btnClearColor = self.ui.createFlatButton(self, "恢复默认", secColor, function() {
self.touchActivity();
try {
self.setPendingValue(item.key, "");