Skip to content

Instantly share code, notes, and snippets.

@blaZ3
Last active November 8, 2021 12:00
Show Gist options
  • Save blaZ3/f60a707b262b0555726644861ecb1951 to your computer and use it in GitHub Desktop.
Save blaZ3/f60a707b262b0555726644861ecb1951 to your computer and use it in GitHub Desktop.
Enable and disable Android animations
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