Home > Software engineering >  How to show block of dynamic or static information at bottom of screen
How to show block of dynamic or static information at bottom of screen

Time:12-12

I want to display a sticky bar at the bottom of the screen to show dynamic or static data similar to the bars in the image below. Can this be achieved with BottomSheetScaffold on screen load without user interaction? If not, how else can this be implemented?

EDIT: I want to achieve this in Jetpack Compose.

enter image description here

CodePudding user response:

enter image description here

And heres the BottomSheet (enter image description here

Let the page load (lots of example images so may take a little while depending on your connection/CPU) but theres several that look like what you want. May have extras that you can turn off, such as the resizable nature of that AndroidSweetSheet, you can have it appear rather than slide up & scroll

Just having a look through that UI elements page (for my own app purposes) I noticed this one FABReveal

CodePudding user response:

OP commented that they're specifically looking for jetpack compose - what about enter image description here

You'd probably have the pop-up controlled so that it pops-up when you want it to, instead of the user clicking a button.

Edits: some more examples

enter image description here

  • Related