TF-874 Fix cursor pointer indicator in composer is wrong color on Android

This commit is contained in:
dab246
2023-02-20 15:53:44 +07:00
committed by Dat Vu
parent 163ed8b9fe
commit aaf345632a
8 changed files with 18 additions and 84 deletions
+9 -1
View File
@@ -1,11 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<resources xmlns:tools="http://schemas.android.com/tools">
<!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is off -->
<style name="LaunchTheme" parent="@android:style/Theme.Light.NoTitleBar">
<!-- Show a splash screen on the activity. Automatically removed when
Flutter draws its first frame -->
<item name="android:windowBackground">@drawable/launch_background</item>
<item name="android:windowFullscreen">false</item>
<item name="android:colorControlActivated" tools:targetApi="lollipop">@color/colorPrimary</item>
<item name="android:forceDarkAllowed" tools:targetApi="q">false</item>
<item name="android:windowSplashScreenBackground" tools:targetApi="s">@drawable/launch_background</item>
<item name="android:windowSplashScreenBrandingImage" tools:targetApi="s">@drawable/branding</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
@@ -15,5 +19,9 @@
This Theme is only used starting with V2 of Flutter's Android embedding. -->
<style name="NormalTheme" parent="@android:style/Theme.Light.NoTitleBar">
<item name="android:windowBackground">?android:colorBackground</item>
<item name="android:colorControlActivated" tools:targetApi="lollipop">@color/colorPrimary</item>
<item name="android:forceDarkAllowed" tools:targetApi="q">false</item>
<item name="android:windowSplashScreenBackground" tools:targetApi="s">@drawable/launch_background</item>
<item name="android:windowSplashScreenBrandingImage" tools:targetApi="s">@drawable/branding</item>
</style>
</resources>