热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

如何使TextView字符大小相同?-HowtomakeTextViewcharsthesamesize?

IneedtoshowinTextViewcharswiththesamesizeinpixels,canitbedoneusingacustomfontor

I need to show in TextView chars with the same size in pixels, can it be done using a custom font or something like that?

我需要在TextView字符中显示相同大小的像素,是否可以使用自定义字体或类似的东西来完成?

Take for example the char ';' takes 8 pixels in width and a space ' ' takes 7 pixels in width, how can i make those the same size?

比如char';'宽度为8像素,空间宽度为7像素,如何制作相同尺寸的像素?

1 个解决方案

#1


3  

Use


in your TextView

在TextView中


推荐阅读
author-avatar
mobiledu2502887593
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有