Android Animation 속도 조절(adb)

사용 버전: Android Studio 4.1
사용 언어: Kotlin 1.4.10

안드로이드 Animation 속도 조절(adb)을 알아보겠습니다.


Animation의 속도는 기본 1로 설정되어 있습니다.
Toast, Activity 창을 띄우는 것 처럼 새로운 창을 만드는 속도는 WINDOW_ANIMATION_SCALE
Fade, Slide 같은 화면 전환 속도는 TRANSITION_ANIMATION_SCALE
전체 애니메이션 속도는 ANIMATOR_DURATION_SACALE
에서 관리합니다.

adb에서 해당 값들을 조절할 수 있습니다.

Android Studio를 켜고, Terminal을 누릅니다.



아래 명령어를 쳐 줍니다.

adb shell settings put global window_animation_scale 10

adb shell settings put global transition_animation_scale 10

adb shell settings put global animator_duration_scale 10





10이라는 숫자는 기본 소요 시간에 x10을 한 것과 같습니다.

그러니까 걸리는 시간이 10 배가 되니까 더 느려지겠죠?


원래대로 하고 싶다면, 1로 다시 설정하면 됩니다.

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


window_animation_scale





transition_animation_scale





animator_duration_scale




끝.



카테고리: Android

댓글

이 블로그의 인기 게시물

Python OpenCV 빈 화면 만들기

Python urllib.parse.quote()

Python bytes.fromhex()

Android AVD Ram size change

Forensics .pyc 파일 .py로 복구하기

Android Minimum touch target size

KiCad 시작하기 7 (FreeRoute 사용하기 2)

Android Notification with Full Screen

C++ OpenCV 모폴로지 침식, 팽창

KiCad 시작하기 2 (PCB 만들기)