android - How to prevent custom dialog from blinking cursor on first EditText inside of it -


i creating custom dialog window problem when dialog first launches automatically begins flashing cursor on first edittext in linearlayout defines structure of dialog. keyboard not appear, first edittext has blinking cursor on it.

i attempted use requestfocus() function on textview within dialog cannot edited, blinking cursor remains on first edittext in dialog.

if has advice or solutions solving problem, great.

use either xml attribute or java function-

xml:

android:cursorvisible="false"  

java function:

setcursorvisible(false) 

Comments

Popular posts from this blog

amazon web services - S3 Pre-signed POST validate file type? -

c# - Check Keyboard Input Winforms -