-
-
Notifications
You must be signed in to change notification settings - Fork 3
Refine top-level navigation motion #268
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <set xmlns:android="http://schemas.android.com/apk/res/android" | ||
| android:shareInterpolator="false"> | ||
| <scale | ||
| android:duration="300" | ||
| android:startOffset="90" | ||
| android:fromXScale="0.92" | ||
| android:fromYScale="0.92" | ||
| android:toXScale="1" | ||
| android:toYScale="1" | ||
| android:pivotX="50%" | ||
| android:pivotY="50%" | ||
| android:interpolator="@android:interpolator/fast_out_extra_slow_in" /> | ||
| <alpha | ||
|
Comment on lines
+1
to
+14
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [P1] Avoid using platform interpolator absent on minSdk The new fade-through resources reference Useful? React with 👍 / 👎. |
||
| android:duration="210" | ||
| android:startOffset="90" | ||
| android:fromAlpha="0" | ||
| android:toAlpha="1" | ||
| android:interpolator="@android:interpolator/linear_out_slow_in" /> | ||
| </set> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <set xmlns:android="http://schemas.android.com/apk/res/android" | ||
| android:shareInterpolator="false"> | ||
| <alpha | ||
| android:duration="90" | ||
| android:fromAlpha="1" | ||
| android:toAlpha="0" | ||
| android:interpolator="@android:interpolator/fast_out_linear_in" /> | ||
| </set> |
This file was deleted.
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.
[P0] Guard ValueAnimator.areAnimatorsEnabled for pre-O devices
applyTopLevelNavAnimationsnow callsValueAnimator.areAnimatorsEnabled()unconditionally. That API was added in Android O, but the app’sminSdkis 23, so any device running API 23–25 will crash withNoSuchMethodErroras soon as this helper executes (e.g., on app start when navigation is set up). Please gate the call behind aBuild.VERSION.SDK_INT >= Build.VERSION_CODES.Ocheck or fall back to queryingSettings.Global.ANIMATOR_DURATION_SCALE.Useful? React with 👍 / 👎.