MaterialSearchBar icon indicating copy to clipboard operation
MaterialSearchBar copied to clipboard

Cursor is not visible while typing

Open ranaprathap2 opened this issue 5 years ago • 4 comments

The cursor is invisible while typing .....

ranaprathap2 avatar May 30 '19 09:05 ranaprathap2

![Screenshot_1559208118](https://user-images.githubusercontent.com/35987175/58622965-83ff1000-82ea-11e9-9f5f-101a8b3b64dc.png

keypad is open, but the cursor is not visible, anyway the typing works !

ranaprathap2 avatar May 30 '19 09:05 ranaprathap2

Fix for the issue! Create a xml file in drawable folders called color_cursor.xml

<?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle" > <solid android:color="#ff000000" /> <size android:width="1dp" /> </shape>

change the color in xml to whatever color you want for the cursor.

mayankagarwal09 avatar Aug 27 '19 15:08 mayankagarwal09

tks

On Tue, Aug 27, 2019 at 8:48 PM mayankagarwal09 [email protected] wrote:

Fix for the issue! Create a xml file in drawable folders called color_cursor.xml

change the color in xml to whatever color you want for the cursor.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mancj/MaterialSearchBar/issues/114?email_source=notifications&email_token=AISR5ZYXMHOBNTJIPNNRVULQGVAVJA5CNFSM4HRBMA42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5IDJXA#issuecomment-525350108, or mute the thread https://github.com/notifications/unsubscribe-auth/AISR5Z6BX5SWOK6AWCADL6LQGVAVJANCNFSM4HRBMA4Q .

ranaprathap2 avatar Aug 28 '19 11:08 ranaprathap2

where should we use this xml?

pejmanghorbani avatar Apr 05 '20 23:04 pejmanghorbani