Skip to content

Instantly share code, notes, and snippets.

@JokeUrSelf
Created December 31, 2024 21:56
Show Gist options
  • Save JokeUrSelf/e79bf5af99ae920ae8b98dccf6cd9e85 to your computer and use it in GitHub Desktop.
Save JokeUrSelf/e79bf5af99ae920ae8b98dccf6cd9e85 to your computer and use it in GitHub Desktop.
Set custom animation durations on Android phones

Set custom animation durations on Android phones

  1. Install minimal adb cli tool, connect your android phone to the computer and run the shell
adb devices
adb shell
  1. Set the animation duration (0.25 in this example)
settings put global window_animation_scale 0.25
settings put global transition_animation_scale 0.25
settings put global animator_duration_scale 0.25
  1. Verify wether the setting were changed:
settings get global window_animation_scale
settings get global transition_animation_scale
settings get global animator_duration_scale
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment