简体   繁体   English

如何在Android小部件中设置泰米尔文字?

[英]how to set Tamil text in android widget?

I have brought the tamil font in to list view. 我已将泰米尔语字体带入列表视图。 I have unicodes for tamil fonts and I am setting that to typeface of textview.. so the font gets displayed well. 我有泰米尔语字体的unicode,我将其设置为textview的字体..这样字体就可以很好地显示。 The problem now is i need a widget to display the same dynamically. 现在的问题是我需要一个小部件来动态显示相同的内容。 as the widgets dnt have a typeface to support the font is not getting displayed instead the unicodes are displayed . 由于小部件dnt具有支持字体的字体,因此不会显示字体,而是显示unicode。 Can any one find a solution for this. 任何人都可以找到解决方案。

create a Style and apply it to the widget you want to use. 创建样式并将其应用于您要使用的小部件。 see here: 看这里:

http://developer.android.com/guide/topics/ui/themes.html http://developer.android.com/guide/topics/ui/themes.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM