Relative Content

Tag Archive for android-jetpack-compose

Jetpack compose row height: why is too height?

I have a Colum with a Row that contains three Box. Each Box have a Text. I want each Box to have the same height equal to the tallest Text. In my code each Box has the same height, but the Row is too height with space above and below the Text.

Jetpack compose row height: why is too height?

I have a Colum with a Row that contains three Box. Each Box have a Text. I want each Box to have the same height equal to the tallest Text. In my code each Box has the same height, but the Row is too height with space above and below the Text.

Jetpack compose row height: why is too height?

I have a Colum with a Row that contains three Box. Each Box have a Text. I want each Box to have the same height equal to the tallest Text. In my code each Box has the same height, but the Row is too height with space above and below the Text.

Non scrollable area inside LazyColumn

I have a LazyColumn which contains some items that are themselves scrollable (a mapbox map). Now the default behaviour is that the LazyColumn consumes the scroll completely and the map stays the same. I want to change this so that the parent (LazyColumn) does not scroll when the user interacts with the map. I already looked at the docs for nested scrolling but that seems to not cover my use case.
Interestingly the AndroidView has this behaviour so I cloud wrap the map into that, but I think there should be a better solution. Any ideas are appreciated!

Non scrollable area inside LazyColumn

I have a LazyColumn which contains some items that are themselves scrollable (a mapbox map). Now the default behaviour is that the LazyColumn consumes the scroll completely and the map stays the same. I want to change this so that the parent (LazyColumn) does not scroll when the user interacts with the map. I already looked at the docs for nested scrolling but that seems to not cover my use case.
Interestingly the AndroidView has this behaviour so I cloud wrap the map into that, but I think there should be a better solution. Any ideas are appreciated!