Open edasich opened 7 years ago
Hello sir , First of all thank you for creating this really awesome UI but still has bug. I appreciate that if you fix this bug. Thanks in advance.
set com.android.support:design version to 25.0.1
I've solved this issue.
In the class AvatarImageBehavior
, the method onDependentViewChanged
should be changed like this:
@Override
public synchronized boolean onDependentViewChanged(CoordinatorLayout parent, CircleImageView child, View dependency) {
...
if (expandedPercentageFactor < mChangeBehaviorPoint) {
....
child.setX(mStartXPosition - distanceXToSubtract);
if (distanceYToSubtract > (mStartYPosition - mFinalYPosition) + (mCustomFinalHeight / 2))
distanceYToSubtract = (mStartYPosition - mFinalYPosition) + (mCustomFinalHeight / 2);
child.setY(mStartYPosition - distanceYToSubtract);
...
}
...
}
@anelfdz that solved the problem. Thank you very much.