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

javascript - How do you prevent nested queries/catches in sequelize? -

java - Could not retrieve pre-bound Hibernate session - Could not obtain transaction-synchronized Session for current thread -

java - ConcurrentModificationException upon committing transaction with Hibernate -