[FEAT] 進購物平台前強制關閉導航列 + 序號版本號字體放大加深

1. MainActivity「銷售平台」按鈕點擊改為先檢查導航列狀態:
   以 isNavigationReallyHidden() 判斷,未真正關閉時跳出
   showMustHideSystemBarsDialog() 提醒並擋下,符合販賣機機台不應出現系統導航列的規範。
2. 開發者後門(長按 2 秒強制進入)維持不變,刻意不受導航列檢查限制,方便手機測試。
3. 購物平台機台資訊列 textMachineInfoName(序號 + 版本號,亦為長按進主控台後門的觸發點)
   字體 14sp→16sp、alpha 0.7→0.9,放大加深以提升可讀性與長按命中率。
4. verPatch 20→21(versionName 21_02_21_D / versionCode 210221)。

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
sky121113 2026-06-24 17:14:07 +08:00
parent a24bdfdc0e
commit 377da0a2da
3 changed files with 9 additions and 3 deletions

View File

@ -10,7 +10,7 @@ plugins {
//
// =========================================================================
def verMinor = 2
def verPatch = 20
def verPatch = 21

View File

@ -209,6 +209,12 @@ public class MainActivity extends AppCompatActivityAbstract {
return;
}
// 🔒 販賣機機台導航列沒真的關掉就擋下並提醒後門長按不受此限
if (!isNavigationReallyHidden()) {
showMustHideSystemBarsDialog();
return;
}
enterShoppingPlatform();
});

View File

@ -112,8 +112,8 @@
android:gravity="start|center_vertical"
android:text="--"
android:textColor="@color/gray"
android:textSize="14sp"
android:alpha="0.7"
android:textSize="16sp"
android:alpha="0.9"
android:singleLine="true"
android:ellipsize="end" />