如果想設定TextView字型的上下邊距最小,
調整了參數android:layout_marginTop="0px"
android:layout_marginBottom="0px"
android:padding="0px"
均不能解決問題。
那麼可以用:
android:includeFontPadding="false"
textview.setIncludeFontPadding(false);
如果想設定TextView字型的上下邊距最小,
調整了參數android:layout_marginTop="0px"
android:layout_marginBottom="0px"
android:padding="0px"
均不能解決問題。
那麼可以用:
android:includeFontPadding="false"
textview.setIncludeFontPadding(false);