查看源码可以发现,通过修改theme的textViewStyle进行修改,最终添加一个类似与系统的syle TextAppearance.Small就可以
<item name="textViewStyle">@android:style/Widget.TextView</item>
<style name="Widget.TextView">
<item name="android:textAppearance">?android:attr/textAppearanceSmall</item>
</style>
<item name="textAppearanceSmall">@android:style/TextAppearance.Small</item>
<style name="TextAppearance.Small">
<item name="android:textSize">14sp</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">?textColorSecondary</item>
</style>
posted on 2012-05-21 13:48
汪杰 阅读(858)
评论(0) 编辑 收藏 引用 所属分类:
Java