huburt-Hu / NewbieGuide

Android 快速实现新手引导层的库,通过简洁链式调用,一行代码实现引导层的显示
Apache License 2.0
3.55k stars 521 forks source link

Update HighlightView.java #212

Open moten-07 opened 1 year ago

moten-07 commented 1 year ago

fixbug: https://github.com/huburt-Hu/NewbieGuide/issues/151

qq471077336 commented 10 months ago

怎么更新到这个分支,目前依赖2.4.4,没有更新到这个代码,还是
private RectF fetchLocation(View target) { RectF location = new RectF(); Rect locationInView = ViewUtils.getLocationInView(target, mHole); location.left = locationInView.left - padding; location.top = locationInView.top - padding; location.right = locationInView.right + padding; location.bottom = locationInView.bottom + padding; return location; }

moten-07 commented 9 months ago

怎么更新到这个分支,目前依赖2.4.4,没有更新到这个代码,还是 private RectF fetchLocation(View target) { RectF location = new RectF();矩形 locationInView = ViewUtils.getLocationInView(target, mHole); location.left = locationInView.left - 填充; location.top = locationInView.top - 填充; location.right = locationInView.right + 填充; location.bottom = locationInView.bottom + 填充;返回地点; }

等作者更新,或者你直接在项目里创建一个同名文件覆盖掉,我是不想特意发布一个版本,还得额外创建一个maven