-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Proposal] ♻️ Animate the bookmark button on the session details screen. #1114
[Proposal] ♻️ Animate the bookmark button on the session details screen. #1114
Conversation
I gave up applying animated icons in the list because I could not manage the state correctly.
Hi @Corvus400! Codes seem to be unformatted. To resolve this issue, please run |
Icon( | ||
imageVector = Icons.Filled.Bookmark, | ||
contentDescription = SessionsStrings.RemoveFromFavorites.asString(), | ||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, as far as I know, animated vector drawable was introduced several years ago. So I'm wondering why we need Build.VERSION_CODES.S 👀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@takahirom
Oops sorry, I got my thoughts mixed up with the SplashScreen response. 🙇
It was an unnecessary branch and I removed it!🫡
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We might have to check this before release so could you check if this runs on API Level 23 using Emulator?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@takahirom
I created an API23 device in the emulator and checked it, and it works fine.🫡
Also, there is no need to put resources in drawable-v31, so that was also removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for creating the new animation! 🔖
Issue
Overview (Required)
Links
Movie (Optional)
animation.mp4