Skip to content

基于自定义规则的番剧采集APP,支持流媒体在线观看,支持弹幕,支持实时超分辨率。

fix(android): prevent a green border from appearing on the outermost layer after using keyboard and mouse interaction in Android's night mode. (#1747)

axel1063fe734c5470
diff --git a/android/app/src/main/res/values-night/styles.xml b/android/app/src/main/res/values-night/styles.xml
index 2a764236..870a84ca 100644
--- a/android/app/src/main/res/values-night/styles.xml
+++ b/android/app/src/main/res/values-night/styles.xml
@@ -6,6 +6,9 @@
the Flutter engine draws its first frame -->
<item name="android:windowDrawsSystemBarBackgrounds">true</item>
<item name="android:statusBarColor">@android:color/transparent</item>
+
+ <item name="android:defaultFocusHighlightEnabled">false</item>
+
</style>
<!-- Theme applied to the Android Window as soon as the process has started.
This theme determines the color of the Android Window while your
@@ -16,5 +19,8 @@
<style name="NormalTheme" parent="@android:style/Theme.Black.NoTitleBar">
<item name="android:windowBackground">?android:colorBackground</item>
<item name="android:windowLayoutInDisplayCutoutMode" tools:targetApi="o_mr1">shortEdges</item>
+
+ <item name="android:defaultFocusHighlightEnabled">false</item>
+
</style>
</resources>