Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何设置 ImageView 的 x,y 协调?
应用程序的布局是 AbsoluteLayout,我尝试调用 layout() 但似乎不起作用(ImageView 停留在 0,0)并且 setPadding() 似乎不是一个可行的解决方案,因为我需要稍后进行碰撞检测。
抱歉,Android 新手,提前致谢。