2014年9月6日

getLocationInWindow和getLocationOnScreen的区别

摘要: // location [0]--->x坐标,location [1]--->y坐标int[] location = new int[2] ;// 获取在当前窗口内的绝对坐标,getLeft , getTop, getBottom, getRight, 这一组是获取相对在它父窗口里的坐标。view.... 阅读全文

posted @ 2014-09-06 17:06 veins 阅读(2123) 评论(0) 推荐(0) 编辑

导航