Page MenuHomePhabricator

Animation of the random die in the FAB
Closed, ResolvedPublic

Description

There should be an animation effect on the die when the floating action button is tapped in the Random mode.

Proposed design
The following animation should occur when the die is pressed in Random mode.

Open full screen to view animated GIF
random die FAB - animation.mov.gif (432×436 px, 55 KB)
Else download quicktime mov:

Assets:
Use the following exported Animated Vector drawable via Shapeshifter

ModeAVDOriginal shapeshifter file
Light
Dark/Black

Details

Event Timeline

Change 398415 had a related patch set uploaded (by Sharvaniharan; owner: Sharvaniharan):
[apps/android/wikipedia@master] Use animation for dice in Randomizer

https://gerrit.wikimedia.org/r/398415

Since I suppressed the api warning on the xml, I just wanted to upload a video of the feature working on all api levels. https://youtu.be/CzN4WR8HgmE

Looks great! Just a note though that fsr this was not working on my API 22 Nexus 5 emulator.

Change 398415 merged by jenkins-bot:
[apps/android/wikipedia@master] Use animation for dice in Randomizer

https://gerrit.wikimedia.org/r/398415

QA test: Die animation occurs on tapping floating action button in the full Randomizer view in respective Light and Dark modes.

open full screen to see animated gif

Expected Light
Random-die-Light-animation.gif (480×270 px, 1 MB)
Expected Dark
Random-die-Dark-animation.gif (480×270 px, 859 KB)

LGTM too on Nexus 5 (6.01), Wikipedia 2.7.224-alpha-2018-01-17

hammerheadM4B30Zrho01182018155352.gif (960×540 px, 1 MB)