android 中文粗体
16lz
2021-01-23
这个东西就是解决中文不加粗,英文粗体的 问题
就是设置背影。伪装加粗。
android:shadowColor="#000000"
android:shadowDx="0.2" android:shadowDy="0.0" android:shadowRadius="0.2"
在xml文件中使用android:textStyle="bold" 可以将英文设置成粗体,但是不能将中文设置成粗体,
将中文设置成粗体的方法是:TextViewtv = (TextView)findViewById(R.id.TextView01);
TextPaint tp = tv.getPaint();
tp.setFakeBoldText(true);
更多相关文章
- Android API中文文档AccessibilityService
- Android7.0中文文档(API)-- SimpleExpandableListAdapter
- Catalog Service - 解析微软微服务架构实例代码
- 介绍一个微软开源项目网站--CodePlex
- C#如何使用正则表达式来验证中文字符的案例
- C#中的正则表达式如何验证中文字符的实例
- asp.net下的中文分词检索工具分享
- 技术解答CSV 文件的一个 .NET 库:CsvHelper 中文文档