File tree Expand file tree Collapse file tree
docs/changes/completed/2026-07-03 Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 <style name =" LaunchTheme" parent =" @android:style/Theme.Black.NoTitleBar" >
55 <item name =" android:forceDarkAllowed" >false</item >
66 <item name =" android:windowFullscreen" >false</item >
7+ <item name =" android:windowDrawsSystemBarBackgrounds" >false</item >
78 <item name =" android:windowLayoutInDisplayCutoutMode" >shortEdges</item >
89 <item name =" android:windowSplashScreenBackground" >#1A1612</item >
910 <item name =" android:windowSplashScreenIconBackgroundColor" >#1A1612</item >
Original file line number Diff line number Diff line change 77 <item name =" android:windowBackground" >@drawable/launch_background</item >
88 <item name =" android:forceDarkAllowed" >false</item >
99 <item name =" android:windowFullscreen" >false</item >
10+ <item name =" android:windowDrawsSystemBarBackgrounds" >false</item >
1011 <item name =" android:windowLayoutInDisplayCutoutMode" >shortEdges</item >
1112 </style >
1213 <!-- Theme applied to the Android Window as soon as the process has started.
Original file line number Diff line number Diff line change 44 <style name =" LaunchTheme" parent =" @android:style/Theme.Light.NoTitleBar" >
55 <item name =" android:forceDarkAllowed" >false</item >
66 <item name =" android:windowFullscreen" >false</item >
7+ <item name =" android:windowDrawsSystemBarBackgrounds" >false</item >
78 <item name =" android:windowLayoutInDisplayCutoutMode" >shortEdges</item >
8- <item name =" android:windowSplashScreenBackground" >#F4EFE3 </item >
9+ <item name =" android:windowSplashScreenBackground" >#1A1612 </item >
910 <item name =" android:windowSplashScreenIconBackgroundColor" >#1A1612</item >
1011 </style >
1112 <!-- Theme applied to the Android Window as soon as the process has started.
Original file line number Diff line number Diff line change 77 <item name =" android:windowBackground" >@drawable/launch_background</item >
88 <item name =" android:forceDarkAllowed" >false</item >
99 <item name =" android:windowFullscreen" >false</item >
10+ <item name =" android:windowDrawsSystemBarBackgrounds" >false</item >
1011 <item name =" android:windowLayoutInDisplayCutoutMode" >shortEdges</item >
1112 </style >
1213 <!-- Theme applied to the Android Window as soon as the process has started.
Original file line number Diff line number Diff line change 1+ # [ COMPLETED] 重新繪製開啟 App 的 Splash 啟動畫面
2+
3+ 本計畫旨在更新「夜讀」的開啟啟動畫面(Splash Screen)。我們使用了一張全新繪製的夢幻夜空風景大圖,並將原本的魔法書、城堡、發光樹與彎月等經典品牌元素融合其中,在 Light 與 Dark 模式下均呈現一致的精美視覺體驗。
4+
5+ ## 變更項目
6+
7+ ### 1. 資產複製 (Assets)
8+ - ** [ NEW] ** 複製生成的 ` splash_landscape_1783065815113.png ` 至專案目錄:` assets/splash_landscape.png `
9+
10+ ### 2. 設定檔修改 (Config)
11+ - ** [ MODIFY] ** ` flutter_native_splash.yaml `
12+ - 移除原有的純色設定,改為指向 ` background_image ` 與 ` background_image_dark ` 為新生成的 ` assets/splash_landscape.png ` 。
13+ - 調整 Android 12+ 的 ` color ` 與 ` color_dark ` 設定,對齊新風景圖的深棕色調,以確保 Android 12 系統原生啟動圖的和諧度。
14+
15+ ### 3. 原生資產生成 (Generation)
16+ - 執行 ` dart run flutter_native_splash:create ` 重新產生 Android 各解析度的 Splash 相關資源檔案(Drawable 等)。
17+
18+ ### 4. 版本控制 (Release)
19+ - 將 ` pubspec.yaml ` 版本號由 ` 0.2.122+136 ` 升級為 ` 0.2.123+137 ` 。
20+
21+ ---
22+
23+ ## 驗證結果
24+
25+ ### 自動化測試與靜態分析
26+ - 在本機執行:
27+ - ` flutter analyze ` 確保專案語法與相依性正常。 (No issues found!)
28+ - ` flutter test ` 確保沒有任何測試因 Splash 變更而受影響。 (661 tests passed!)
You can’t perform that action at this time.
0 commit comments