I want to display text in an Android application. I have studied the localization API in Android. Regarding that API, I understood that we can display text in only international languages like Japanese, French, English etc.. But I have tried something like this.
I have copied Telugu text from Google and pastes it in the strings file. The issue is that the Telugu text is displayed in high-configuration Android mobiles, but not in low-configuration Android mobiles. Is there any alternate solution for displaying text in Telugu?
Simple. You just have to put in the TTF file in the assets folder, and it will show up on all the devices.
我在这里分享了整个应用程序代码,以了解如何以多种语言(尤其是卡纳达语和泰卢固语)显示一个文本。
You can try embedding custom font:
http://www.barebonescoder.com/2010/05/android-development-using-custom-fonts/
Test with Telugu fonts given here:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.