一种是再程序中调用TextView的方法:
setIncludeFontPadding (boolean includepad)
或者在xml中加入下句:
android:includeFontPadding="false"
http://stackoverflow.com/questions/4768738/android-textview-remove-spacing-and-padding-on-top-and-bottom
一种是再程序中调用TextView的方法:
setIncludeFontPadding (boolean includepad)
或者在xml中加入下句:
android:includeFontPadding="false"
http://stackoverflow.com/questions/4768738/android-textview-remove-spacing-and-padding-on-top-and-bottom