Magisk/app
RikkaW 0df891b336 Handle window insets with a new way
For example, switching pages in home should only have scale and alpha animations, but a "translate y" animation shows. This is because Data Binding is triggered later (like "in the next frame"), causing the animation runs before view attribute changes.

This commit introduces WindowInsetsHelper class and use it to handle all window insets. With the help of LayoutInflaterFactory from the previous commit, we can control insets behavior by adding our attributes to the XML and anything is done by WindowInsetsHelper class.

As changes are highly coupling, this commit also contains new ItemDecoration for lists, replacing the random combination of padding and empty drawable. And "fixEdgeEffect" extension for RecyclerView, making edge effects respect padding.
2020-11-19 23:24:39 -08:00
..
shared Minor cleanups 2020-10-11 05:10:02 -07:00
signing Update dependencies 2020-11-13 00:58:41 -08:00
src/main Handle window insets with a new way 2020-11-19 23:24:39 -08:00
.gitignore Separate backend logic from frontend UI 2018-12-13 04:35:50 -05:00
build.gradle.kts Update dependencies 2020-11-13 00:58:41 -08:00
proguard-rules.pro Migrate to AGP 4.1.0 2020-10-17 06:32:49 -07:00