Fixed
Status Update
Comments
il...@google.com <il...@google.com>
ap...@google.com <ap...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-master-dev
commit 293ec9d642e4e4e37c88543b1ae5f1c2c9eb1705
Author: Ian Lake <ilake@google.com>
Date: Fri Apr 05 21:13:10 2019
Change nav_default anims to match activity/fragment speed
Ensure that NavigationUI's default animations have
the same duration as the default activity animations
(which use a private integer config_activityDefaultDur)
and Fragments (which use a private member variable),
which both equal 220ms.
Test: ran testapp
Fixes: 130055522
Change-Id: I482a49ce650d1df74c28d5f4b84f5d7dfc12b6ea
M navigation/ui/src/main/res/anim/nav_default_enter_anim.xml
M navigation/ui/src/main/res/anim/nav_default_exit_anim.xml
M navigation/ui/src/main/res/anim/nav_default_pop_enter_anim.xml
M navigation/ui/src/main/res/anim/nav_default_pop_exit_anim.xml
A navigation/ui/src/main/res/values/integers.xml
https://android-review.googlesource.com/940601
https://goto.google.com/android-sha1/293ec9d642e4e4e37c88543b1ae5f1c2c9eb1705
Branch: androidx-master-dev
commit 293ec9d642e4e4e37c88543b1ae5f1c2c9eb1705
Author: Ian Lake <ilake@google.com>
Date: Fri Apr 05 21:13:10 2019
Change nav_default anims to match activity/fragment speed
Ensure that NavigationUI's default animations have
the same duration as the default activity animations
(which use a private integer config_activityDefaultDur)
and Fragments (which use a private member variable),
which both equal 220ms.
Test: ran testapp
Fixes: 130055522
Change-Id: I482a49ce650d1df74c28d5f4b84f5d7dfc12b6ea
M navigation/ui/src/main/res/anim/nav_default_enter_anim.xml
M navigation/ui/src/main/res/anim/nav_default_exit_anim.xml
M navigation/ui/src/main/res/anim/nav_default_pop_enter_anim.xml
M navigation/ui/src/main/res/anim/nav_default_pop_exit_anim.xml
A navigation/ui/src/main/res/values/integers.xml
Description
Version used: 2.1.0-alpha02
Currently, NavigationUI uses @android:integer/config_mediumAnimTime or 400ms for transition animations. However, the default animation timeframe for Fragments and Activities is 220ms (the private config_activityDefaultDur value).
NavigationUI should match those default.