标签: android animation view android-activity imageview
答案 0 :(得分:0)
mPhotoImageView.getTop()将在onCreate()中返回0,您需要等到第一次布局/绘图发生后才能获得View的正确位置。