这个东西就是解决中文不加粗,英文粗体的 问题


就是设置背影。伪装加粗。


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);

更多相关文章

  1. Android API中文文档AccessibilityService
  2. Android7.0中文文档(API)-- SimpleExpandableListAdapter
  3. Catalog Service - 解析微软微服务架构实例代码
  4. 介绍一个微软开源项目网站--CodePlex
  5. C#如何使用正则表达式来验证中文字符的案例
  6. C#中的正则表达式如何验证中文字符的实例
  7. asp.net下的中文分词检索工具分享
  8. 技术解答CSV 文件的一个 .NET 库:CsvHelper 中文文档

随机推荐

  1. Android(安卓)BroadcasetReceiver
  2. Android重写返回按钮退回桌面(根据源码查
  3. android 获取未安装apk的icon、name等信
  4. android动态布局:用java代码实现LinearLay
  5. does not specify a android.test.Instru
  6. 短视频直播系统开发Android中常用控件
  7. Android(安卓)读取安装的非系统应用程序
  8. android中获取wifi信息
  9. Android(安卓)之 GrideView网格视图
  10. android里,addContentView()动态增加view