在Android的马拉雅拉姆语字体? [英] malayalam font in android?

查看:117
本文介绍了在Android的马拉雅拉姆语字体?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想开发它包含了我想补充马拉雅拉姆语字体.. malyalam文本的应用程序是所有的Andr​​oid devices.can任何一个这种兼容的,请帮我解决这个

i want to develop an application which contain malyalam text for that i want to add malayalam font.. is this compatible on all android devices.can any one please help me to solve this

在此先感谢

推荐答案

在项目的资产文件夹添加乌拉圭回合的字体文件,然后用 setTypeface的帮助()功能设置字体的TextView。我have't try'd它BT我觉得你一定会发现它的帮助。

add ur font file in assets folder of your project, then with the help of setTypeface() function set the font for textview. I have't try'd it bt i think u will surely find it helpful.

Typeface typeFace = Typeface.createFromAsset(getAsset(),"malyalam.fnt");

,然后将其添加到您的TextView像下面

and then add it to your textview like below

textView.setTypeFace(typeFace);

希望这会为U,让我的手指交叉:)

hope this will work for u, keeping my fingers crossed :)

这篇关于在Android的马拉雅拉姆语字体?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆