shimohq / react-native-prompt-android

A polyfill library for Alert.prompt on Android platform, working both on Android and iOS platform.
MIT License
129 stars 74 forks source link

Changing color of selection elements, and cursor #32

Open Noitidart opened 6 years ago

Noitidart commented 6 years ago

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?

Kowaio commented 4 years ago

Hi,

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