android-jetpack-compose-scaffold Questions
10
I have 2 screens which both have their own Scaffold and TopAppBar. When I navigate between them using the Jetpack Navigation Compose library, the app bar flashes. Why does it happen and how can I g...
androidandroid-jetpackandroid-jetpack-composeandroid-jetpack-navigationandroid-jetpack-compose-scaffold
Filicide asked 3/8, 2021 at 9:40
3
Solved
I currently display a Bottom Sheet through a BottomSheetScaffold and want to collapse it when the user clicks outside the Bottom Sheet. Is there a way to detect the click outside of the Bottom Shee...
Sclerosed asked 11/1, 2022 at 20:32
0
So I had such UI structure at app top level composable (Scaffold to add bottom bar)
Scaffold(
contentWindowInsets = WindowInsets(0, 0, 0, 0),
bottomBar = {
if (appState.shouldShowBottomBarAndDra...
androidandroid-jetpack-composejetpack-compose-navigationjetpack-compose-animationandroid-jetpack-compose-scaffold
Mousebird asked 18/5, 2023 at 19:54
2
Solved
I'm trying to set the navigation bar to the same color as the bottom app bar, but I don't understand where the color for the app bar comes from with the dark theme. It looks like it should be Mater...
Faunus asked 31/7, 2021 at 12:49
2
I'm writing an android-app using jetpack compose.
This app has a bottom bar which i would like to hide sometimes using an animation.
However, this proved challenging: as soon as i was dealing with ...
Batsman asked 1/3, 2022 at 13:22
3
How can I change FAB action(onClick{}) depending on current screen with Scaffold.
Scaffold(
floatingActionButton = {
FloatingActionButton(onClick = {
//Different actions here depending on curr...
Probabilism asked 5/7, 2021 at 15:58
2
Solved
@Composable
fun LayoutsCodelab() {
Scaffold(
topBar = {
TopAppBar(
title = {
Text(text = "LayoutsCodelab")
}
)
}
) { innerPadding ->
BodyContent(Modifier.padding(innerPadding...
Georama asked 3/12, 2021 at 4:14
5
We can have Navigation Drawer in JetpackCompose by using Scaffold as below
Scaffold(
drawerContent = { Text(text ="Drawer") }
) {}
I want to make the width of the drawer smaller. How c...
Hainaut asked 15/12, 2020 at 12:20
3
Solved
navigation compose version 2.4.0-alpha06
I have a Navigation Drawer using Scaffold and part of the items are dynamically generated by ViewModel.
Example items are
Home
A
B
C
...
Settings
where A,...
Chloroplast asked 23/8, 2021 at 22:39
1
Solved
I have a Flow that wraps a sealed class, which is used for calling messages to the UI. For example to show a Snackbar. I can observe the Flow from a Composable using LaunchedEffect. But the problem...
Ninety asked 31/1, 2022 at 8:11
1
Solved
I want to use outlined and filled icons based on selected state in NavigationBar just like google maps app, using jetpack compose. In case of xml we use selector so what do we use for compose ?
Her...
androidandroid-jetpack-composematerial-components-androidjetpack-compose-navigationandroid-jetpack-compose-scaffold
Villein asked 24/1, 2022 at 8:41
1
Solved
I'm trying to design a layout using Compose that consists of:
TopAppBar
Body (content)
BottomAppBar
A Bottom Sheet that represents a menu when clicked (Modal Bottom Sheet)
-------TopAppBar-------...
Thorp asked 28/5, 2021 at 19:13
4
Solved
I'm using Jetpack Compose for the first time but I'm getting this error. I haven't figured out where the problem really is but I'm using single-activity architecture. If more information is needed,...
Lacto asked 13/4, 2021 at 11:4
1
Solved
I want to know what is Scaffold in jetpack compose with a BottomAppBar example can anyone help me
Scaffold
Tulatulip asked 27/3, 2021 at 5:4
1
© 2022 - 2025 — McMap. All rights reserved.