开发者

concatenation of text

开发者 https://www.devze.com 2023-02-17 09:56 出处:网络
i am a new programmer in android application. how can i concatenate the value in Edit Text? i.e when i was entering the values in edit 开发者_如何学JAVAtext box like 1234567890 the values should appe

i am a new programmer in android application.

how can i concatenate the value in Edit Text? i.e when i was entering the values in edit 开发者_如何学JAVAtext box like 1234567890 the values should appear like 123-456-7890 in the same edit text.that means concatenate the by default value as "-" at every 3 digits.

is there any chance to do this

please help me

Thanks in advance


Try this answered question about Masked Input Using EditText Widget in Android

0

精彩评论

暂无评论...
验证码 换一张
取 消