Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.
1 vote
2 answers
51 views

I'm working on a login screen using Jetpack Compose and I'm trying to implement automatic scrolling to ensure the last button ("Log in without password") is visible when the keyboard appears....
Fatima Jamal's user avatar
2 votes
1 answer
64 views

Is it possible to display a placeholder on the detail pane of a ListDetailPaneScaffold when still no item from the list has been selected? I'm displaying a route in a map when an item is selected, and ...
NullPointerException's user avatar
2 votes
0 answers
1k views

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....
user924's user avatar
  • 12.9k
2 votes
1 answer
196 views

I want to scroll frontLayerContent continue without interrupt. For example when I started scrolling frontLayerContent, backLayerContent will hide and stop frontLayerContent at top of screen. Then ...
Vivek Modi's user avatar
  • 7,859
0 votes
1 answer
820 views

My current android applications main screen contains a androidx.compose.material.BackdropScaffold. The backdrop looks great and functions exactly as it says on the tin. however I have an issue with ...
Hector's user avatar
  • 5,724
1 vote
1 answer
445 views

i have a main screen in my android app that is employing androidx.compose.material.BackdropScaffold the frontcontent hosts a list of items it all works fine, however when the backdrop is "open&...
Hector's user avatar
  • 5,724
1 vote
2 answers
2k views

I have implemented bottom sheet in jetpack compose with BottomSheetScaffold in a screen and default state is initialValue = BottomSheetValue.Collapsed. When screen appears on device then Bottom sheet ...
Humayun's user avatar
  • 68
2 votes
1 answer
1k views

Before Jetpack Compose I was using Navigation Component in the projects in View system world. Apps had only one activity - toolbar, bottom bar and drawer were added only to this activity once. Apps ...
user924's user avatar
  • 12.9k
17 votes
2 answers
5k views

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 a ...
m.reiter's user avatar
  • 2,687
1 vote
1 answer
6k views

In our application, there are many custom views that all are card with 3 slots header, content and bottom part, so I thought we can handle it with a scaffold inside the card except having many if/else ...
Sepideh Vatankhah's user avatar
2 votes
2 answers
2k views

So i am new to Jetpack compose and am trying to figure out how to add the drawer functionality to a button on my view. A counterpart question that i found for my question in relation to the XML ...
Gaurav Sarma's user avatar
  • 2,297
15 votes
1 answer
12k views

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 is ...
slaviboy's user avatar
  • 1,962
6 votes
1 answer
5k views

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 ? Here ...
Vidyesh Churi's user avatar
2 votes
1 answer
1k views

I'm building an Android app using purely Jetpack Compose. My entire application is wrapped under one scaffold, and has a ViewModel for each "screen" (which are composables) in my app. ...
sping's user avatar
  • 55
5 votes
3 answers
15k views

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 Sheet? ...
JonasLevin's user avatar
  • 2,157

15 30 50 per page