我正在使用html编辑器增强来撰写。
我有问题,同步光标的颜色和应用程序的颜色。当我专注于编辑器时,衬垫的默认颜色是绿色。而我的应用程序有不同的颜色。如何更改此光标的颜色?希望能得到社区的帮助。
发布于 2022-11-17 01:35:44
我已经找到了我问题的答案。以android为母语。> Res>value> style.xml添加这一行
<item name="android:colorControlActivated">#2F93EF</item>全码
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- 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>
</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
Flutter UI initializes, as well as behind your Flutter UI while its
running.
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">#2F93EF</item>
</style>
</resources>https://stackoverflow.com/questions/72723922
复制相似问题