user8500152
user8500152

Reputation:

Move google logo when bottomSheet minimises and maximises

I want to move google logo in maps when the bottom sheet maximises and minimises. I am using bottomSheetBehaviour inside a coordinator layout. This behaviour can be seen in Google maps app.

Upvotes: 1

Views: 150

Answers (1)

user8500152
user8500152

Reputation:

I found the answer to the problem:

I added app:layout_dodgeInsetEdges="bottom" to the mapview and added app:layout_insetEdge="bottom" to the Nested Scroll view of bottom sheet.

Upvotes: 1

Related Questions