feat: replace with native Android empty-shell UI (Main/Settings + stub ServerClient/WatchBridge)

This commit is contained in:
2026-09-01 18:49:15 +08:00
parent 18ec9fadc7
commit 0673ff77b7
29 changed files with 367 additions and 266 deletions
+6
View File
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="deep_blue">#0B1220</color>
<color name="white">#FFFFFF</color>
<color name="light_blue">#B7C8E8</color>
</resources>
+16
View File
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">DSHWatch Phone</string>
<string name="status_disconnected">未连接(空壳)</string>
<string name="btn_refresh">刷新状态</string>
<string name="btn_settings">设置</string>
<string name="settings_title">设置</string>
<string name="label_server">服务器地址</string>
<string name="hint_server">ws://host:port</string>
<string name="label_user">用户ID</string>
<string name="hint_user">userId</string>
<string name="label_token">Token</string>
<string name="hint_token">token</string>
<string name="btn_save">保存(空壳)</string>
<string name="shell_hint">空壳 UI:后续接入 DSHWatch_Server + 小米穿戴 SDK(BLE 网关)。</string>
</resources>
+9
View File
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="Theme.DSHWatch" parent="Theme.MaterialComponents.DayNight.NoActionBar">
<item name="colorPrimary">#33B4FF</item>
<item name="colorPrimaryDark">#0B1220</item>
<item name="colorAccent">#33B4FF</item>
<item name="android:windowBackground">@color/deep_blue</item>
</style>
</resources>