react-native-prompt-android icon indicating copy to clipboard operation
react-native-prompt-android copied to clipboard

Changing color of selection elements, and cursor

Open Noitidart opened this issue 7 years ago • 1 comments

I already have set my accent colors but I need a different color for the cursor, and the "selection" handles because the background in the prompt is white.

Here my styles.xml:

        <item name="colorAccent">@android:color/white</item>

        <!-- colorPrimary is used for the default action bar background -->
        <item name="colorPrimary">@color/primaryDark</item>

        <!-- colorPrimaryDark is used for the status bar -->
        <item name="colorPrimaryDark">@color/primaryDark</item>

I am trying to set @drawable/edit_text_cursor by doing <item name="@drawable/edit_text_cursor">@color/primary</item> but its not working. Is it possible to control the cursor color and selection handles in the prompt?

Noitidart avatar Feb 23 '18 00:02 Noitidart

Hi,

i'm curious if you succeeded. I am having the exact same issue. Any news? Thx

Kowaio avatar May 28 '20 13:05 Kowaio