【发布时间】:2012-10-08 23:28:36
【问题描述】:
我正在为报纸开发应用程序。我想从 RSSfeed 获取数据,并且想以 ListView 方式使用区域语言显示数据。这在android中怎么做?
【问题讨论】:
标签: android android-intent indic
我正在为报纸开发应用程序。我想从 RSSfeed 获取数据,并且想以 ListView 方式使用区域语言显示数据。这在android中怎么做?
【问题讨论】:
标签: android android-intent indic
您需要为一种语言使用特定的字体。检查此custom font in android ListView
假设您在 assets 文件夹下的 fonts 文件夹中有 your_font.ttf 字体:
Typeface tf = Typeface.createFromAsset(getAssets(), "fonts/your_font.ttf");
TextView tv = (TextView) findViewById(R.id.CustomFontText);
tv.setTypeface(tf);
【讨论】: