Douglas Farias Expert Licensed User Longtime User Dec 28, 2013 #1 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 *-*
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 *-*
giga Well-Known Member Licensed User Longtime User Dec 28, 2013 #2 Are you looking for a Hint in the text box? EditText1.Hint="You can type this" Upvote 0
Douglas Farias Expert Licensed User Longtime User Dec 28, 2013 #3 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
hmm ok but how i make ? if EditText1.text = "," then EditText1.Hint="You can type this" ??? when user use , or . show a hint *-*
klaus Expert Licensed User Longtime User Dec 28, 2013 #4 Have a look at IME library where you can limit the authorized characters. Upvote 0
giga Well-Known Member Licensed User Longtime User Dec 28, 2013 #5 You Douglas Farias said: hmm ok but how i make ? if EditText1.text = "," then EditText1.Hint="You can type this" ??? when user use , or . show a hint *-* Click to expand... You can show a Hint but limit the input characters with EditText1.InputType like Klaus said. Upvote 0
You Douglas Farias said: hmm ok but how i make ? if EditText1.text = "," then EditText1.Hint="You can type this" ??? when user use , or . show a hint *-* Click to expand... You can show a Hint but limit the input characters with EditText1.InputType like Klaus said.