Я хочу использовать LetterSpacing в моем Text(). Я сделал это так [code]letterSpacing = 0.7.sp [/code] но когда я перемещаю это значение в dimen.xml и использую вот так [code]letterSpacing = dimensionResource(id = R.dimen.text_letter_spacing), [/code] Это выдает ошибку в Text(). [b]Ошибка[/b] [code]None of the following functions can be called with the arguments supplied. Text(AnnotatedString, Modifier = ..., Color = ..., TextUnit = ..., FontStyle? = ..., FontWeight? = ..., FontFamily? = ..., TextUnit = ..., TextDecoration? = ..., TextAlign? = ..., TextUnit = ..., TextOverflow = ..., Boolean = ..., Int = ..., Map = ..., (TextLayoutResult) → Unit = ..., TextStyle = ...) defined in androidx.compose.material Text(String, Modifier = ..., Color = ..., TextUnit = ..., FontStyle? = ..., FontWeight? = ..., FontFamily? = ..., TextUnit = ..., TextDecoration? = ..., TextAlign? = ..., TextUnit = ..., TextOverflow = ..., Boolean = ..., Int = ..., (TextLayoutResult) → Unit = ..., TextStyle = ...) defined in androidx.compose.material [/code] [b]Изображение при ошибке[/b] [img]https://i .sstatic.net/oT3aV.png[/img]