mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-25 15:56:01 +00:00
front end: motion system — gliding rail selection, unfolding sub-lists, page cascades, lifting tiles, session rise
The rail's selection is one pill that springs between rows; sub-lists unfold with their children staggering in. A page change sinks the old page out and cascades the new one in row by row over a blurred wash of the selection's own art. Tiles lift, ring and shine when the pad lands on them and pop a play badge; the launch button sweeps a sheen on focus and squashes on press. The session activity rises over the front end and sinks back on finish. Every duration follows the system animator scale, so 'no animations' in developer options snaps everything.
This commit is contained in:
1 parent
d343b6f859
commit
19514c32b8
6 files changed
+618
-170
No files matched your search
@@ -0,0 +1,3 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- The front end stays put while the session slides over or off it. -->
|
||||
<alpha xmlns:android="http://schemas.android.com/apk/res/android" android:fromAlpha="1" android:toAlpha="1" android:duration="380" />
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- The session surface rises over the front end. -->
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:interpolator/decelerate_cubic">
|
||||
<translate android:fromYDelta="100%p" android:toYDelta="0" android:duration="380" />
|
||||
<alpha android:fromAlpha="0.6" android:toAlpha="1" android:duration="380" />
|
||||
</set>
|
||||
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Leaving a session: the surface sinks back down to reveal the front end. -->
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:interpolator/accelerate_cubic">
|
||||
<translate android:fromYDelta="0" android:toYDelta="100%p" android:duration="320" />
|
||||
</set>
|
||||
Reference in new issue
Block a user