How to Keep Yourself in Line by Talking to the Financial Experts

Another interview done with James Jaramillo. This time, we are talking about finances in a business. I think that talking to James has helped me to understand how important finances are in a…

Smartphone

独家优惠奖金 100% 高达 1 BTC + 180 免费旋转




iOS Like Modal View Dialog Animation In Jetpack Compose

Implementing dialog animations in Android has never been easier

As a mobile developer, you often have the requirement to emulate the system behavior of another OS. Even if we don't implement a cross-platform app, designers sometimes don’t consider system-specific behavior and develop their designs according to one or the other system.

While this can be easily done in iOS, at least from my experience, in Android it’s quite a hustle.

I will therefore share with you how I achieved this task by implementing a Jetpack Compose Dialog that will imitate the slide in animation while remaining the functionalities of the composable.

While the ModalBottomSheetLayout is a great component when it comes to showing additional content to the user without blocking the flow of your app, at least in Jetpack Compose it has some trade-offs if you try to accomplish a full-screen with it.

While it’s no problem to let it fit the whole screen, trying to block the user interaction like a drag to close which is part of the initial functionality of the component, is currently not possible.

Add a comment

Related posts:

40 Realities You Need To Embrace Right Now

2. No matter how pure your motives are, SOMEBODY will still accuse you of ill intentions. Stay pure anyway. 8. Not everyone in your ship is paddling in the direction of your dream destination…

Jakarta at a glance

Kumpulan foto pribadi.. “Jakarta at a glance” is published by Feb.

Nigerians perspective on Mental illness

Not everyone that don’t talk, greet, associate, play with everyone is doing that because they are proud. Most people are struggling with low self-esteem, anxiety attack and depression, insecurity…