一.安卓自定义控件移动时发生抖动:
- 解决办法:在onTouchEvent中,将getX/Y换成对应的getRawX/Y。
二.安卓中各种Context的作用对比
- 具体如下:
三.安卓popupWindow 的各种问题
1.调用showAtLocation方法时 第一个参数view parent 可以用Activity.getWindow.getDecorView获得。
2.
一.安卓自定义控件移动时发生抖动:
二.安卓中各种Context的作用对比
1.调用showAtLocation方法时 第一个参数view parent 可以用Activity.getWindow.getDecorView获得。
2.
相关文章: