Want to display data in Indian regional language (Telugu, Hindi, Tamil and Malayalam) from RSSFeed to Android?

I am developing a newspaper application. I want to get data from RSSfeed, and I want to display data in a ListView using regional languages. How can this be done in android?

+3
source share
1 answer

You need a special font for the language. Check this out for custom font in android ListView


Code for setting custom font in TextView:

Suppose you have the font your_font.ttf in the fonts folder in the assets folder :

 Typeface tf = Typeface.createFromAsset(getAssets(), "fonts/your_font.ttf");               
    TextView tv = (TextView) findViewById(R.id.CustomFontText);
    tv.setTypeface(tf);
+2
source

All Articles