What is android:includeFontPadding for?

前端 未结 1 901
我在风中等你
我在风中等你 2020-12-16 13:00

You can use android:includeFontPadding=\"false\" to get rid of the default padding in a TextView. Android docs say this about the attribute:

<
相关标签:
1条回答
  • 2020-12-16 13:37

    This is need for text size measure in height. If you turn it off, text will be forced to be some height, otherwise it will calculate height of each line with ascenders and descenders.

    0 讨论(0)
提交回复
热议问题