style: simplify button editor section descriptions
This commit is contained in:
@@ -1088,7 +1088,7 @@ FloatBallAppWM.prototype.buildButtonEditorPanelView = function() {
|
||||
form.setOrientation(android.widget.LinearLayout.VERTICAL);
|
||||
form.setPadding(self.dp(4), self.dp(4), self.dp(4), self.dp(18));
|
||||
|
||||
var basicSectionBody = self.createButtonEditorCollapsibleSection(form, "基础信息", "先填写名称,便于在按钮管理列表中识别", true);
|
||||
var basicSectionBody = self.createButtonEditorCollapsibleSection(form, "基础信息", "按钮名称", true);
|
||||
|
||||
// 1. 标题 (Title)
|
||||
var topArea = new android.widget.LinearLayout(context);
|
||||
@@ -1109,7 +1109,7 @@ FloatBallAppWM.prototype.buildButtonEditorPanelView = function() {
|
||||
|
||||
basicSectionBody.addView(topArea);
|
||||
|
||||
var iconSectionBody = self.createButtonEditorCollapsibleSection(form, "图标外观", "选择图标来源、ShortX 图标和颜色", false);
|
||||
var iconSectionBody = self.createButtonEditorCollapsibleSection(form, "图标外观", "图标和颜色", false);
|
||||
|
||||
// 1.5 图标选择(文件路径 或 ShortX 内置图标 二选一)
|
||||
var iconSelectWrap = new android.widget.LinearLayout(context);
|
||||
@@ -2306,7 +2306,7 @@ FloatBallAppWM.prototype.buildButtonEditorPanelView = function() {
|
||||
}));
|
||||
|
||||
|
||||
var actionSectionBody = self.createButtonEditorCollapsibleSection(form, "动作设置", "选择点击后执行的动作类型与参数", true);
|
||||
var actionSectionBody = self.createButtonEditorCollapsibleSection(form, "动作设置", "点击后做什么", true);
|
||||
|
||||
// 2. 动作类型(自动换行:用 GridLayout 稳定实现)
|
||||
// 这段代码的主要内容/用途:把「Shell/App/广播/Intent/快捷方式」做成会自动换行的单选框区域。
|
||||
|
||||
@@ -54,8 +54,8 @@
|
||||
"size": 20386
|
||||
},
|
||||
"th_14_panels.js": {
|
||||
"sha256": "8fad61213c8b4428f4bd9ce5b96357458aa39b8f2f1ec1b5c65d8f397d0292a7",
|
||||
"size": 239244
|
||||
"sha256": "0b14c2526d026240005aa4df2266fb9091bb051286f2c5cc74416e24cd1c74d4",
|
||||
"size": 239147
|
||||
},
|
||||
"th_15_extra.js": {
|
||||
"sha256": "44d19f0012f4182b9f9831d4f5a747b43d3b726f98e0480e6c79f54eeff70a5e",
|
||||
@@ -68,5 +68,5 @@
|
||||
},
|
||||
"keyId": "toolhub-targets-2026-rsa3072",
|
||||
"schema": 2,
|
||||
"version": 20260513003201
|
||||
"version": 20260513101000
|
||||
}
|
||||
|
||||
@@ -1 +1 @@
|
||||
N6p+D+KwipFJGV52Ne9CeLA4SDbZbM7BbGoG7iDcONwoQ00a9lzyKxqImXYk1GCwGFqP4QUJ5WSGEBKFEjI8WnPsviqRb81rC9t+WDtY29xyQfzCanJ34Abi3mDfh0xrJODOwfbrF0MwQjxVzdkjfRQHAeek18QRAMuBhpo3ahck9v/FRPzMqNU+NEAmWKDoB/OqI3YJm33wzr+JKB2cSsK4VWFQI9gHP07rXWhGgcRcjs0+8x4itd4EJHGO83gTLIoMkVdhhYQLHRGPFkN5BJMpwGq9ULeP2LfQGPefcGF0ZkRTPq5V/LGsJDPk2+jWLMjGCgteY5ir5E8rTudqDDEO7U4VkTTCe9WF/8d1S1HbSwivUKzIEgPPNNgycdw14ByVEbxzwWHyBa/27VH5EkmiwIOw3ITXIHgGJYOZFjWBmupwd+jIUEijrAf3ABSsOc15NWru4n1XwNZTcPNzDmMsztGfVdb3+H7u9eE2Doa0RAdPhKBPc8RXbEs+rx4X
|
||||
bxpybqofF+LBb0MRAWyePzHsOJE8dPldxEiz3YMAPw80F6prNiusUF4/6jLT+Xk1E0SyzODSDeMylzD6TwE3GD1F5aYxWDYzbD37/HzOBFZtL1Q0G5n9rWPTr/KNfP5WNFyarw2BRNFcNxIPwLlxFC0Pq4sNe0ksDknyXcl8ZqUbddzK2cSW1N6Vy7kavIbjw+Tnwq7o6Jfae4n/jmZzm5voIp2qc4ypWQkOp2ilDK35nc1ky0IlHnGgsFT2pRl4q3ZpQ0+YrKZbAY6i+iYz9Km0AJ7nxV4Ybhn415oG41yOOTr/95nbQzHj87ts0N3dGXUg+usJjd1jc9XwxU8LYmmaS5FdB8RCTK+m/pxEINgBsHe3jx3NufeM4PJlR37n+Bnme+/UccEAmHVBNAJefY7tVbd+e5PU/IBgoKAde3lmv4q1PB4jENQrpJv65y7H5fWIgtH94UBspg7l2c6HHHGNVKf6boVPGaANxpThpLrKG0hXYMsuUL7bx5Yt9DZN
|
||||
|
||||
@@ -18,6 +18,7 @@ checks = [
|
||||
("editor no useless workbench", "按钮编辑工作台" not in text and "createButtonEditorHeroCard" not in text),
|
||||
("editor has field spacing helper", "addButtonEditorField" in text),
|
||||
("editor fixed footer has equal buttons", "btnCancelLp.weight = 1" in text and "btnSaveLp.weight = 1" in text and "self.dp(44)" in text),
|
||||
("editor section descriptions are concise", "按钮名称" in text and "图标和颜色" in text and "点击后做什么" in text and "先填写名称,便于在按钮管理列表中识别" not in text and "选择点击后执行的动作类型与参数" not in text),
|
||||
]
|
||||
failed = [name for name, ok in checks if not ok]
|
||||
if failed:
|
||||
|
||||
Reference in New Issue
Block a user