you need to use appropriate unicode font to do that.
for example if you want to print hindi then you have to use any hindi font file
suppose hindi font file is "hindi.ttf"
then to print hindi unicode into textview you have to set hindi font like following
for example if you want to print hindi then you have to use any hindi font file
suppose hindi font file is "hindi.ttf"
then to print hindi unicode into textview you have to set hindi font like following
txtLyricsEnglish = (TextView) findViewById(R.id.txtLyricsEnglish);
Typeface font = Typeface.createFromAsset(getAssets(),
"hindi.ttf");
txtLyricsEnglish.setTypeface(font);
No comments :
Post a Comment