android - I am unable to make text selectable in edittext. When user tap the text for long it gets selected, I don't want text to get selected or highlighted -


android:cursorvisible="false" android:focusableintouchmode="false" android:focusable="false" android:selectallonfocus="false" android:longclickable="false" android:textisselectable="false" 

i have applied these constraints on edittext, working fine, problem when user tap long text gets selected.

as darko has answered on similar question:

"you can return true in onlongclick listener onlongclick method? means have consumed event , wont passed further along."

the onlongclick listener should added in java activity.


Comments

Popular posts from this blog

routing - AngularJS State management ->load multiple states in one page -

python - GRASS parser() error -

post - imageshack API cURL -