How can I change the color pointer of the EditText cursor, and not the color of the cursor on the handle)

not the cursor color the knob color I am trying to change the handle of an EditText cursor but cannot see it on the device, my XML is attached for this layout

<EditText android:id="@+id/new_text_edit_text" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_centerVertical="true" android:imeOptions="flagNoExtractUi" android:layout_marginLeft="16dp" android:layout_toLeftOf="@+id/new_text_button_send" android:background="@android:color/white" android:hint="@string/write_a_message" android:textSize="@dimen/text_size_large" android:gravity="center_vertical" android:fontFamily="sans-serif-light" android:inputType="text|textMultiLine|textCapSentences|textShortMessage" android:textCursorDrawable="@drawable/cursor_glide_blue" android:lines="3" android:singleLine="false"/> 
+6
source share
1 answer

To change the cursor selection knob in EditText

 android:textSelectHandle="@drawable/handle_middle" android:textSelectHandleLeft="@drawable/handle_left" android:textSelectHandleRight="@drawable/handle_right" 
+1
source

Source: https://habr.com/ru/post/989348/


All Articles