My move animation is written in an xml file. How to get the variable Y at a certain point in time, for example, when you press a button? Here is the code
for (int aab = 0; aab < lines; aab++) { for (int aaa = 0; aaa < 75; aaa++) { anim[aab][aaa] = AnimationUtils.loadAnimation(this, R.anim.mytrans); } } linLay[irand].addView(ntv[irand][xxx[irand]], lparam1); ntv[irand][xxx[irand]].startAnimation(anim[irand][xxx[irand]]); ntv[irand][xxx[irand]].setClickable(true); ntv[irand][xxx[irand]].setId(irand * 100 + xxx[irand]);