[Android][TextView] 줄 높이. lineHeight, lineSpacingExtra, lineSpacingMultiplier
https://stackoverflow.com/a/54197979
Android lineHeight vs lineSpacingExtra
can I know what is the difference between lineHeight and lineSpacingExtra in android xml. I tried to compare both, but I got the different result (I need the lineHeight function, however it is only
stackoverflow.com
lineHeight
https://developer.android.com/reference/android/widget/TextView#attr_android:lineHeight
TextView | Android Developers
developer.android.com
> 텍스트의 줄 높이를 명시한다.
lineSpacingExtra
https://developer.android.com/reference/android/widget/TextView#attr_android:lineSpacingExtra
TextView | Android Developers
developer.android.com
> 텍스트의 줄 간 간격. 텍스트 높이에 추가적으로 들어가는 높이. 마지막 줄에는 반영되지 않는다.
lineSpacingMultiplier
https://developer.android.com/reference/android/widget/TextView#attr_android:lineSpacingMultiplier
TextView | Android Developers
developer.android.com
> 텍스트의 줄 간격을 multipler(곱하는 수)로 정한다. 마지막 줄에는 반영되지 않는다.