android- restrict edittext to accept farsi characters only

Viewed 608

I want to restrict my edittext to only accept farsi charecters . charecters like ض ص ث ق ف And so on .

I've tried to use xml digit but it did not work .

how can I do so ?

2 Answers
Related