2013年9月6日星期五

Android edittext filter symbol problem

I want my edittext only enter Chinese English , and underscores how the others are not get ah ? ? ? seeking guidance about
There are small pieces of code similar to the better
------ Solution ----------------------------- ---------------
there is no small example ah read online on projects really do not know how to write  

You want something else he entered at the prompt enter only Chinese or English and underlined , the other did not reflect other input ?
If the former is what it click submit on the line with regular
If the latter is to be used TextWatcher edit box Listener
http://blog.csdn.net/q445697127/article/details/7624081
------ reference ------------------- --------------------
Get edittext text to judge
------ reference ------- --------------------------------
problem is I do not know how to get ah find detailed ah
------ reference ------------------------- --------------
you look TextView.get / setInputType () these two functions , look InputType there to suit your needs , and some words on the input set EditText ; type
------ reference -------------------------------------- -
regular Expressions
------ reference ------------------------ ---------------
there is no small example ah read online on projects really do not know how to write

没有评论:

发表评论