android - Shape around correct email address in EditText -
after corrected entering email address (or addresses) in gmail, got frame around address, such in picture below:

how can similar in case of android , edittext? there validation-libraries automatically? (i know can draw using shapes, doesn't easy...).
edit. i've found out library, , works well. https://github.com/splitwise/tokenautocomplete
don't know validation library. background of edittext can use addtextchangedlistener(). in it's ontextchanged() method check key want assign triggering validation. if validation result successful can create textveiw programatically change it's background, assign value of validated email address textview , place text view inside edit text.
Comments
Post a Comment