Feature request
In Ankidroid 2.13 the buttons animate which slows down the flow. I prefer the practice session to be snappy and the animations are a distraction. I'd like this feature to be switched off.
Refer to the support page if you are unsure where to get the "debug info".
Enter an [x] character to confirm the points below:
@unusualstranger Is there a good way to go about this (disabling the ripple effect)? My UI knowledge is limited.
Potential thoughts:
Viewer@tilusnet
For now, you can disable this animation temporarily in the Android Developer Settings
You could also install a parallel 2.12.1 APK alongside 2.13.0 while we get this resolved: https://github.com/ankidroid/Anki-Android/releases/download/v2.12.1/AnkiDroid-2.12.1.parallel.A.apk
Thanks for the report,
David
@unusualstranger Is there a good way to go about this (disabling the ripple effect)? My UI knowledge is limited.
Potential thoughts:
- Might be a way to simulate changing the animation duration developer option per app
- Custom button View class
- Disable the animation programatically in the
Viewer
Sorry for late response, I'm fairly sure there should be a way to get resources from custom SDK folder though my Android UI knowledge is more limited than yours. Another way would be changing names for old background resources and new ripple background resources to be able to change them pro grammatically. Fade animation can be disabled in code. I can get onto this issue
@david-allison-1 should I use the existing Safe Display option or make a new one? (sorry for asking stupid questions)
@unusualstranger Use 'Safe Display' (or AnkiActivity.animationEnabled - they do the same thing). Thanks so much for the help on this one
I've went through all project files with Find tool and I don't see any mention of eInkDisplay preference key elsewhere, may that be a bug or it gets set outside of AnkiDroid? So I think I'm going with safeDisplay for now
Thanks guys for looking into this.
Also I may say something utterly obvious, but the previous version worked just fine for me.
I've went through all project files with Find tool and I don't see any mention of
eInkDisplaypreference key elsewhere, may that be a bug or it gets set outside of AnkiDroid? So I think I'm going with safeDisplay for now
I've fixed that in the latest version of master, animationEnabled() now uses safeDisplay. Ref: #7092
I've fixed that in the latest version of
master,animationEnabled()now usessafeDisplay. Ref: #7092
I must have not pulled changes from upstream properly, sorry! Looks like telling Android Studio to pull from upstream wasn't enough…
Good job, thanks for the prompt update in 2.13.1! :ok_hand: