Jetpack ComposeのComposable内で端末のステータスバー(status bar)の高さを取得したい
val systemBarsPadding = WindowInsets.systemBars.asPaddingValues()
// ステータスバーの高さ
val height = systemBarsPadding.calculateTopPadding()
Go to list of users who liked
More than 1 year has passed since last update.
Jetpack ComposeのComposable内で端末のステータスバー(status bar)の高さを取得したい
val systemBarsPadding = WindowInsets.systemBars.asPaddingValues()
// ステータスバーの高さ
val height = systemBarsPadding.calculateTopPadding()
Register as a new user and use Qiita more conveniently
Go to list of users who liked