Orhan Tozan
09/13/2021, 12:49 PMFilip Wiesner
09/13/2021, 12:51 PMOrhan Tozan
09/13/2021, 12:51 PMFilip Wiesner
09/13/2021, 12:53 PMOrhan Tozan
09/13/2021, 12:54 PMFilip Wiesner
09/13/2021, 12:56 PMOrhan Tozan
09/13/2021, 12:57 PMFilip Wiesner
09/13/2021, 1:09 PMLocalDensity
with constant fontScale
. But again, I highly doubt non-scaling text is good UX. I think it's just a bad compromise for "nice" UI.
There is a reason why it's not a straightforward solution.eygraber
09/13/2021, 2:26 PMFilip Wiesner
09/13/2021, 2:34 PMLocalDensity
override was just the first thing that I thought of.Albert Chang
09/13/2021, 3:28 PMfontSize = with(LocalDensity.current) { 20.dp.toSp() }
should be enough.