首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 移动开发 > 移动开发 >

取得控件相对屏幕的点击位置

2012-09-08 
获得控件相对屏幕的点击位置int[] location new int[2]imageHead.getLocationOnScreen(location)

获得控件相对屏幕的点击位置
int[] location = new int[2];
imageHead.getLocationOnScreen(location);

热点排行