Is it possible to make the same with Jetpack compo...
# compose
a
Is it possible to make the same with Jetpack compose ?
😱 2
👌 3
s
yes, but... good luck 😂
😂 7
c
I guess yes, but you really really should not! This is not what a Floating Action Button was ever meant to be. It is really confusing…
😯 1
2
☝️ 1
It might be a great way to learn animations but please do not ever release it as a library 😄
❤️ 2
f
I guess so but not every app needs to use the “Material” design language. This can be used in design where there is no concept of “floating action button”. I would welcome this as a cool library for those that can make use of it in their design language or at least as a cool example of Compose animations
c
Okay, but then it should not look anything like a FAB. Otherwise it is not a new design language, but a misused existing design language
☝️ 1
f
“FAB” is just a round button with shadow. It’s not that hard to accidentally look like FAB. I understand your argument (edit: and agree with it) but I still think that “_please do not ever release it as a library_” is a bit harsh
c
Sorry, I did not mean to be rude. What my intention was, to prevent this from getting traction and end up as a misused pattern. These concepts are quite opinionated and when they are used in ways they should not be, they create confusion, instead of making UIs more predictable and uniform
f
👍 Agreed
o
Actually I have implemented something similar for Week 1 of AndroidDevChallenge, you can find the
WaveComposable
useful: https://github.com/oleksandrbalan/android-dev-challenge-compose/blob/main/app/src/[…]java/com/example/androiddevchallenge/overview/WaveComposable.kt It was inspired by this Dribble: https://dribbble.com/shots/5967252-Tab-Bar-Animation
a
Very possible
d
Yes it is.
c
Guess I was late with the “prevent this from getting traction” part 🙂