Android Question EditText Alert

Douglas Farias

Expert
Licensed User
Longtime User
Good Evening to all

my question now is simples
i make a edittext
dim edittext as edittex etc

ok

how can i make to users can use , or . ? when use this show in the same tima a mensage or alert msg box etc u cant use , or . exemple

100000 can use

1.0000 cant use

but it when user set . or , no when click in buttons

he put , or . show mensage = u cant use this *-*

thx to all
sory for my english im brasilian *-*
 

Douglas Farias

Expert
Licensed User
Longtime User
hmm ok but how i make ?

if EditText1.text = "," then
EditText1.Hint="You can type this" ???

when user use , or . show a hint *-*
 
Upvote 0

giga

Well-Known Member
Licensed User
Longtime User
You
hmm ok but how i make ?

if EditText1.text = "," then
EditText1.Hint="You can type this" ???

when user use , or . show a hint *-*
You can show a Hint but limit the input characters with EditText1.InputType like
Klaus said.
 
Upvote 0
Top