https://kotlinlang.org logo
#compose
Title
# compose
p

Prashant Priyadarshi

10/11/2020, 6:58 AM
Do we have a compose component for expandable search like in gmail and other apps something like https://stackoverflow.com/questions/29149268/how-to-implement-search-bar-like-gmail-app-in-android
z

Zhelyazko Atanasov

10/11/2020, 9:42 AM
I haven't seen one, but maybe you can build it yourself. Here's an example showing how to do circular FAB reveal - it's quite similar to your case.
w

Wajahat Karim

10/11/2020, 2:45 PM
You can do it with 'animateContentSize()'
p

Prashant Priyadarshi

10/11/2020, 3:20 PM
@Wajahat Karim yes I have used that only , but its looking a bit ugly.. so I thought maybe there is a specific component for this also as of now in animation icon is on the left and it expands towards right but I want it to be opposite i.e icon is on the right and expansion is towwards left
6 Views