Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
Component used: Navigation Version used: 2.3.2 Devices/Android versions reproduced on: N/A
The current implementation of the nav graph inflater uses Resources::obtainAttributes, which doesn't deeply resolve theme attributes, meaning the following won't work:
Obviously this functionality would have a lot of use when it comes to "theming" an app's motion (and defining different "categories" of motion for an app) as well as being able to change animations more easily from one place in much the same was as changing colors or other theme attribute values.
Is there a reason the NavInflater hasn't been set up to resolve these attributes?