Last active
November 8, 2021 12:00
-
-
Save blaZ3/f60a707b262b0555726644861ecb1951 to your computer and use it in GitHub Desktop.
Enable and disable Android animations
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "=================================================" | |
echo "Enable and disable Android animations" | |
echo "Usage" | |
echo "Enable animations: ./android_animations.sh 1" | |
echo "Disable animations: ./android_animations.sh 0" | |
echo "Value can also be decimals in the range of 0 - 1" | |
echo "=================================================" | |
adb shell settings put global window_animation_scale $1 | |
adb shell settings put global transition_animation_scale $1 | |
adb shell settings put global animator_duration_scale $1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment