Post
The closest built-in ways before were LocalConfiguration.current.screenWidthDp and LocalConfiguration.current.screenHeightDp, but due to insets and rounding they aren't actually the window size. So it's an improvement without needing more code with WindowMetricsCalculator (and knowing to do that)
0 reposts1 like
No replies yet.