ForegroundViews
ForegroundViews copied to clipboard
Click location within the view is wrong
trafficstars
Thank you for this project. I am trying it out on Lollipop. I can get the new animated selector working for the foreground of a FImageView. The problem is that the expanding circle that should be centered around the user's tap is instead centered in the middle of the view.
This worked for me, but I have not tested with different target build sdk versions:
@TargetApi(Build.VERSION_CODES.LOLLIPOP)
@Override
public void drawableHotspotChanged(float x, float y)
{
super.drawableHotspotChanged(x, y);
if (foreground != null)
{
foreground.setHotspot(x, y);
}
}
I'm gonna check it ASAP. Thank you! :-) I'm planning to add more documentation and uploading it to maven central, but I've been very busy last months!