서로 다른 시간 간격으로 서로 다른 객체 세트를 차례로 애니메이트하는 방법은 무엇입니까?Android : 다른 시간대의 다른 오브젝트에 애니메이션을 적용하는 방법은 무엇인가요?
자바 코드 :
ImageButton home = (ImageButton)findViewById(R.id.homeicon);
ImageButton settings = (ImageButton)findViewById(R.id.settingsicon);
Animation alpha_anim = AnimationUtils.loadAnimation(this, R.anim.alpha);
home.startAnimation(alpha_anim);
settings.startAnimation(alpha_anim);
애니메이션 파일 :
이<?xml version="1.0" encoding="utf-8"?>
<alpha
xmlns:android="http://schemas.android.com/apk/res/android"
android:fromAlpha="0.0"
android:toAlpha="0.9"
android:duration="8000" />
이 사람이 나를 도울 수 있습니까?
고마워요! 그것은 나를 위해 완벽하게 작동합니다! – luiscosta