How to do custom message box in android jetpack compose?

328 Views Asked by At

I want to show a message box at the bottom of the screen there will be an image on the left of the message box and a message on the right as fillmaxwidth size if a success response is returned from the service. However, I couldn't think of any solution other than toast message, snackbar and bottom sheet.There is no button above the message box. It only comes out at the bottom of the screen and covers the screen completely horizontally and turns off after a certain time. It seemed like the most appropriate option to me is to show a Toast message, but how can I fillMaxWidth this toast message? How can I customize it for me?

0

There are 0 best solutions below