CalligraphyConfig.initDefault(new
CalligraphyConfig.Builder()
.setDefaultFontPath("fonts/hyxzyj.ttf")
.setFontAttrId(R.attr.fontPath)
.build());
http://blog.csdn.net/mlj1668956679/article/details/38679657
更换app默认字间距(配合字体库 实现 ,字间距的变化 ,textview 的
android:textScaleX设置)
参考:http://blog.csdn.net/ljz2009y/article/details/22087575
<
style name="AppTheme"
parent="android:Theme.Holo.Light.DarkActionBar">
< item
name="android:windowNoTitle">true
< !--
Customize your theme here. -->
@style/AppTheme.Widget.TextView
< item
name="android:textColor">@color/standard_text_black
<
/style>
<
style name="AppTheme.Widget.TextView"
parent="android:Widget.Holo.Light.TextView">
< item
name="fontPath">fonts/hyxzyj.ttf
< item
name="android:textScaleX">1.08
<
/style>
<
style name="DiscountIndicatorsTheme"
parent="AppTheme">
< item
name="vpiTabPageIndicatorStyle">@style/DiscountTabPageIndicator<
/item>
<
/style>