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
0 answers
73 views

I'm building a UI in Jetpack Compose using FlowRow (from accompanist/compose foundation), with a chip list that can overflow (e.g., maxLines = 3 with FlowRowOverflow.expandIndicator). When the chip ...
Wen's user avatar
  • 11
1 vote
1 answer
120 views

Here are my two previews: @Preview(showBackground = true) @Composable fun RegionsTest1() { PromVendorsTheme { Row( horizontalArrangement = Arrangement.spacedBy(40.dp), ...
keegaroo65's user avatar
1 vote
0 answers
104 views

I need to have a LazyVerticalStaggeredGrid that aligns every even item to the left no matter of other which height other items have but while aligning depends height of last 2 items it aligns item to ...
Thracian's user avatar
  • 70k
2 votes
1 answer
80 views

I am trying to build a simple calculator using jetpack compose, my composables are: calculator(): this composable composes the whole calculator calculatorRow(): it creates a Row of Buttons When I ...
Mikel San Vicente's user avatar
1 vote
0 answers
73 views

I have a custom bottom bar and i want Scaffold to get this bottomBar's max height and give me the padding of it from the bottom so my content is properly placed when there is a scroll for example. ...
Sevban Bayır's user avatar
0 votes
1 answer
117 views

As title says, I have a compose Column where I center the contents vertically but I want an icon in top left.
georgiecasey's user avatar
  • 23.6k
2 votes
0 answers
295 views

I have created a Box with a fixed size and it has a child that doesn't respect the parent's constraints. The child uses a requiredSize modifier to do this. Box(Modifier .size(50.dp) .border(2....
vighnesh153's user avatar
  • 5,510
1 vote
0 answers
381 views

I have requirement to create a component which will be displayed by the nested child component but it should not be constrained inside to any it's parent component. And I can position it like top, ...
Jeevan Rupacha's user avatar
3 votes
1 answer
2k views

So I have a layout with the following structure: The layout is as follows: Card( modifier = Modifier.fillMaxWidth() ) { Row( modifier = Modifier ....
rohan's user avatar
  • 663
0 votes
1 answer
490 views

I have code below which I experiment with LazyColumn and Column on CustomLayoutModifier on Text (or can be on anything). @Composable fun Greeting() { Column( horizontalAlignment = ...
Elye's user avatar
  • 61.3k
0 votes
1 answer
701 views

I have the following top-level code where a Box is centered on the device @Composable fun Greeting() { Column( horizontalAlignment = CenterHorizontally, verticalArrangement = ...
Elye's user avatar
  • 61.3k
0 votes
1 answer
384 views

When I set my pleaceable constraint as below. LazyColumn( contentPadding = PaddingValues(all =64.dp), verticalArrangement = Arrangement.spacedBy(16.dp), ) { val adjust = 32.dp item { ...
Elye's user avatar
  • 61.3k
5 votes
0 answers
1k views

I have a surface (which acts like a card) and at the right top corner I have menu dots. The idea is that when a user taps the menu dots a drop down menu should appear. The issue I have is that the ...
Nico Bos's user avatar
  • 265
2 votes
2 answers
1k views

I have been wrestling with IME padding/adjustment for my app. I have written a little toy app to try and focus on just the problem. The app presents a scrollable list of cards with info on them, the ...
Travis Griggs's user avatar
1 vote
1 answer
4k views

I've struggled with this layout, which seems like it should be trivial, but I guess since I'm a somewhat beginner with Compose that I can't quite get it right. All I want to do is have these two ...
clamum's user avatar
  • 1,394

15 30 50 per page
1
2 3 4 5