首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何在html编辑器增强颤振中更改光标颜色

如何在html编辑器增强颤振中更改光标颜色
EN

Stack Overflow用户
提问于 2022-06-23 02:31:36
回答 1查看 70关注 0票数 0

我正在使用html编辑器增强来撰写。

我有问题,同步光标的颜色和应用程序的颜色。当我专注于编辑器时,衬垫的默认颜色是绿色。而我的应用程序有不同的颜色。如何更改此光标的颜色?希望能得到社区的帮助。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2022-11-17 01:35:44

我已经找到了我问题的答案。以android为母语。> Res>value> style.xml添加这一行

代码语言:javascript
复制
 <item name="android:colorControlActivated">#2F93EF</item>

全码

代码语言:javascript
复制
<?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>
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/72723922

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档