-
Notifications
You must be signed in to change notification settings - Fork 194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FloatingActionButton animation is gone #937
Comments
I've recently modified the FloatingActionButton library to respect animation scaling system settings. What are the settings on your device right now? (Android Settings > Developer Options > Drawing > Animator/Window animation scale) |
Looking at the changes you made, I'm pretty sure the issue is in Utils.java: https://github.com/daniele-athome/FloatingActionButton/blob/master/library/src/main/java/com/github/clans/fab/Util.java#L28-L45 Specifically, with the getFloat calls, you default to 0. Seeing how you're working with deprecated functions and those variables may disappear or get renamed (maybe they did in my release?) it definitely makes more sense to default to 1 as it's the default for everyone who doesn't change developer options which, lets be honest, basically nobody does. |
Changing animation speed to 10x makes this even more strange - pressing the fab causes:
Pencil rotation changes
"New chat" appears
"New group chat" appears
Pressing it again makes the same thing backwards **but** both actions are still flashing.
Am 24. Januar 2017 22:53:41 MEZ, schrieb Sylvia van Os <[email protected]>:
…Looking at the changes you made, I'm pretty sure the issue is in
Utils.java:
#937 (comment)
Specifically, with the getFloat calls, you default to 0. Seeing how
you're working with deprecated functions and those variables may
disappear or get renamed (maybe they did in my release?) it definitely
makes more sense to default to 1 as it's the default for everyone who
doesn't change developer options which, lets be honest, basically
nobody does.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
#937 (comment)
--
Diese Nachricht wurde von meinem Android-Gerät mit K-9/p≡p gesendet.
|
I interpreted that the default value would be returned by the system and the default of 0 would be used in case of errors. But reading more carefully in the docs:
Thanks people. |
Fixed in 60033ff. |
Just updated to F-Droid/4.0.0 nothing changed. |
Just want to state that for my device it is fixed in 4.0.0, so it seems more specific to @OffifialMITX's setup |
Thinking of that, I remembered that my animations are all set to 0 so i changed them and yes, it's not this bug.
--
Diese Nachricht wurde von meinem Android-Gerät mit K-9/p≡p gesendet.
|
Expected behavior
On 4.0-beta5, clicking the pencil FAB produced a rather pretty animation
Actual behavior
On 4.0-beta6.1 there is no animation anymore, the screen instantly flashes to the end state, looking rather jarring
Steps to reproduce
Environment
Kontalk version: (please also specify origin, e.g. F-Droid or Google Play)
4.0-beta6.1 (F-Droid)
Android version: (please also specify custom ROM name if applicable)
7.1.1 (CyanogenMod 14.1)
Device model:
Motorola Moto E 2015 LTE (surnia)
Logs
If you have a system log related to the issue please send it via email at
devteam (at) kontalk.org. Please do not attach it or publish it anywhere because
it may contain sensitive information. If you have root access, you can use Catlog
(available on both Google Play and F-Droid) to produce it. Alternatively, if you
have the Android SDK installed on your computer, connect your device and execute:
and send us the text file.
Other
If there is a relevant forum discussion, please link to it here.
The text was updated successfully, but these errors were encountered: