If I have an `android:letterSpacing` value like th...
# compose
z
If I have an
android:letterSpacing
value like the following, how do I use it in Compose?
Copy code
<!-- Letter Spacing -->
<dimen name="largeTitleLetterSpacing">0.00625</dimen>
j
Most of the Text composables take an argument for
textStyle
or
style
which has a type of TextStyle. That type has a field for
letterSpacing
which you can use to set that. https://developer.android.com/reference/kotlin/androidx/compose/ui/text/TextStyle