android/sunflower

[Bug]: Toolbar is not collapsing well on Dark Mode

qamarelsafadi opened this issue · 2 comments

Is there an existing issue for this?

  • I have searched the existing issues

Is there a StackOverflow question about this issue?

  • I have searched StackOverflow

Is this an issue related to the sample app?

  • Yes, this is a specific issue related to this samples repo.

What happened?

Dark Mode in the main branch

in GardenActivity when scrolls to collapse toolbar Dark mode have a strange behavior as its just becoming Transapernent and the toolbar is not really being collapsed.

Video to explain 👇🏻

Screen.Recording.2023-07-07.at.6.07.30.PM.mov

Device I am using to test

Screenshot 2023-07-07 at 6 11 46 PM

Part of GTC open source initiative

Relevant logcat output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

This issue is already fixed in m3

val scrollBehavior = TopAppBarDefaults.enterAlwaysScrollBehavior()

Closed by #883