I want to use this dependency in my project similar to how Kotlin handles dimensions in XML, like:
xml
Copy code
android:layout_marginEnd="@dimen/_5sdp"
I want to achieve the same in Jetpack Compose, where I use:
kotlin compose
Copy code
Column(
modifier = Modifier
.background(globalWhite)
.padding(bottom = 12.dp, start = 6.dp, end = 6.dp, top = 6.dp),
) {
How can I do this in Jetpack Compose also with ssp and sdp support ?"
I want to use this dependency in my project similar to how Kotlin handles dimensions in XML, like:
xml
Copy code
android:layout_marginEnd="@dimen/_5sdp"
I want to achieve the same in Jetpack Compose, where I use:
kotlin compose
Copy code
Column(
modifier = Modifier
.background(globalWhite)
.padding(bottom = 12.dp, start = 6.dp, end = 6.dp, top = 6.dp),
) {
How can I do this in Jetpack Compose also with ssp and sdp support ?"