Created
December 5, 2023 02:40
-
-
Save CostaFot/10ef61765d236d13bb051cd9c6dbe7ee to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val layoutDirection = LocalLayoutDirection.current | |
Box( | |
modifier = Modifier | |
.fillMaxSize() | |
.padding( | |
start = paddingValues.calculateStartPadding(layoutDirection), | |
end = paddingValues.calculateEndPadding(layoutDirection), | |
bottom = paddingValues.calculateBottomPadding(), | |
) | |
) { | |
var isFullyExpanded by remember { | |
mutableStateOf(false) | |
} | |
Column( | |
modifier = Modifier.fillMaxSize() | |
) { | |
val statusBarHeight = WindowInsets.statusBars.getTop(LocalDensity.current).pxToDp() | |
BoxWithConstraints( | |
modifier = Modifier.fillMaxSize() | |
) { | |
// TODO draggable box | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment