리스트뷰에 레이아웃 애니메이션을 주었는데요.
이게 랜덤으로 순서가 바뀝니다. -0-.. 어떤때에는 위에서부터 나오고 어떤때는 아래서 부터 나오네요.
테스트 기종은 갤스, 넥스, 모토로이 해봤는데 3기종 다 마찬가지구요.
아래 소스와 같이 강제적으로 setorder를 normal로 해줘도 그렇네요.. 왜 이런지 아시는 분 계신가요 ?
AnimationSet set = new AnimationSet(true);
Animation animation = new AlphaAnimation(0.0f, 1.0f);
animation.setDuration(350);
set.addAnimation(animation);
animation = new TranslateAnimation(Animation.RELATIVE_TO_PARENT, 0.0f,
Animation.RELATIVE_TO_PARENT, 0.0f,
Animation.RELATIVE_TO_SELF, -1.0f,
Animation.RELATIVE_TO_SELF, 0.0f);
animation.setDuration(350);
set.addAnimation(animation);
LayoutAnimationController controller = new LayoutAnimationController(set, 1.0f);
controller.setOrder(LayoutAnimationController.ORDER_NORMAL);
listView.setLayoutAnimation(controller);