|
|
@@ -9,6 +9,8 @@ import android.support.design.widget.AppBarLayout;
|
|
|
import android.support.design.widget.CoordinatorLayout;
|
|
|
import android.view.View;
|
|
|
|
|
|
+import kr.co.zumo.app.lifeplus.util.ResourceUtil;
|
|
|
+
|
|
|
/**
|
|
|
* CustomHeaderBehavior
|
|
|
* <pre>
|
|
|
@@ -70,7 +72,7 @@ public class CustomHeaderBehavior extends AppBarLayout.Behavior {
|
|
|
if (Math.abs(dy) > 10) {
|
|
|
if (dy > 0 && isUp == false) {
|
|
|
isUp = true;
|
|
|
- ObjectAnimator animation = ObjectAnimator.ofFloat(child, "translationY", -child.getHeight());
|
|
|
+ ObjectAnimator animation = ObjectAnimator.ofFloat(child, "translationY", -child.getHeight() - ResourceUtil.getStatusBarHeightManual());
|
|
|
animation.setDuration(600);
|
|
|
animation.start();
|
|
|
}
|