1、将arial.ttf字体文件加入assets目录中

2、使用arial.ttf字体方式

TextView textView = (TextView) findViewById(R.id.about_us_content);Typeface tf = Typeface.createFromAsset(getAssets(), "arial.ttf"); textView.setTypeface(tf);

更多相关文章

  1. Android(安卓)getResources的作用和需要注意点
  2. Android.mk简要说明
  3. android 打开GPS的2种方式
  4. Android进行数字签名的方法
  5. android TextView 设置部分文字背景色和文字颜色
  6. android 之 GridView
  7. 如何搭建android环境---windows系统环境里。
  8. Android(安卓)DropboxManager介绍
  9. android studio 解决65536的方法(64K)

随机推荐

  1. Android必备:Android(安卓)UI控件的了解与
  2. 独立的android开发者开发app如何盈利
  3. Android(安卓)Development
  4. Android最佳实践(六)之扫描二维码模块
  5. Android(安卓)5.1和Android(安卓)5.0相比
  6. Android实现根据条件自动转换手机震动和
  7. android > 修改Android工程版本
  8. android app的类响应式设计
  9. 【Android(安卓)开发】: Android(安卓)消
  10. Android(安卓)RelativeLayout 属性&Andro