I want to use some Arabic letters in card view as text in my android app, how to achieve this. Anyone please help me.
Asked
Active
Viewed 50 times
1 Answers
0
Simply copy paste an Arabic string in your string.xml file. The access that string variable through resources. For example put this in your string.xml
<string name="message">هذا المجلد يات المحذوفة غير قابلة للإسترجاع.</string>
And put this in your code, now mystring variable should be Arabic.
String mystring = getResources().getString(R.string.message);

Bqin1
- 467
- 1
- 9
- 19