im = ImageView
im.setOnClickListener(new OnClickListener() {
public void onClick(View v) {
// TODO Auto-generated method stub
setBackgroundResource(R.drawable.red);
}
});
TranslateAnimation anim = new TranslateAnimation(wOld, w, hOld, h);
anim.setDuration(200);
anim.setFillAfter(true);
im.startAnimation(anim);
When i create animation, onClick doesn't run. What is wrong?
Salih SELAMETOĞLU
Teknopalas RFID Yazılım Çözümleri / Yazılım Uzman Yardımcısı
İstanbul Üni. Bil. Müh. 4. Sınıf
http://www.linkgizle.com
http://selametoglu.blogspot.com/
http://slideme.org/application/light-show (first application - tool)
--
You received this message because you are subscribed to the Google Groups
"Android Discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/android-discuss?hl=en.