728x90
반응형
맨 처음 http있는 곳에
android:fillAfter="true"
옵션을 추가해주면 된다.
<예시 코드>
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:fillAfter="true">
<translate
android:duration="1000"
android:fromXDelta="0"
android:fromYDelta="0"
android:toXDelta="0"
android:toYDelta="-800%" />
</set>
728x90
반응형
'# Android' 카테고리의 다른 글
[Android] gradle build error 해결법 요약 - an exception occurred applying plugin request [id: 'com.android.application'] (0) | 2022.05.01 |
---|---|
[Android] 효과음 넣기 - SoundPool (0) | 2022.02.19 |
[Android] 자연스러운 애니메이션 - 보간, interpolator (0) | 2022.02.18 |
[Android] 일정 시간 뒤 실행 - postDelayed(); (0) | 2022.02.18 |
[Android] 타이틀 바, 상태 바 제거(핵심만) (0) | 2022.02.18 |