private void effect(View v) {
Animation anim = new AlphaAnimation(0.0f, 1.0f);
v.setBackgroundColor(getResources().getColor(R.color.red));
anim.setDuration(100); //You can manage the time of the blink with this parameter
v.startAnimation(anim);
anim.setFillAfter(false);
anim.setRepeatCount(5);
}
제가 이런식으로 메소드를 만들었는데요
저기서 stop같은 명령어가 없어서요 저 이벤트가 발생되고 사라지는 효과를
넣고싶은데 사라지게 하는걸 모르겠어서요