Closed jigarpatel17 closed 6 years ago
Actually, there is not necessary padding subtraction. I removed subtraction and changed this method as:
private float getCircleCenterY(Rect viewPositionRect) {
return viewPositionRect.top + (view.getHeight() / 2);
}
The fix is released in version 1.0.6. Thanks for issue.
@erkutaras Just wanted to ask that is there any need to draw variable named as "bitmap" in ShowCaseView for which you have added comment("draw all views and update location of descriptionView").
private Bitmap bitmap;
bitmap = Bitmap.createBitmap(getWidth(), getHeight(), Bitmap.Config.ARGB_8888);
// draw all views and update location of descriptionView
canvas.drawBitmap(bitmap, 0, 0, null);
Thanks for the above fix.
Thanks for your attention. There is no need to use "bitmap" and it is removed.
I have implemented as per below.
I think we should either +/- combination for top/bottom or may be -/+ for top/bottom padding.
Right now i have made updates as per below and it is working fine.