public void run() { runOnUiThread(new Runnable() { public void run() { ImageView myimage = (ImageView)findViewById(R.id.myimage); Animation animation = new TranslateAnimation(100, 200, 300, 400); animation.setDuration(1000); myimage.startAnimation(animation); animation.setRepeatCount(Animation.INFINITE); int x = myimage.getLeft(); int y = myimage.getTop(); } }); } }, 1000, 1000);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)