|
|
@@ -12,6 +12,9 @@ import android.view.ViewGroup;
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
+import kr.co.zumo.app.R;
|
|
|
+import kr.co.zumo.app.lifeplus.util.ResourceUtil;
|
|
|
+
|
|
|
/**
|
|
|
* CustomScrollingViewBehavior
|
|
|
* <pre>
|
|
|
@@ -77,7 +80,7 @@ public class CustomScrollingViewBehavior extends AppBarLayout.ScrollingViewBehav
|
|
|
}
|
|
|
|
|
|
// 스크롤 범위를 더하지 않아 레이아웃 영역이 화면을 넘지 않도록 수정
|
|
|
- final int height = availableHeight - header.getMeasuredHeight(); // + header.getMeasuredHeight();
|
|
|
+ final int height = availableHeight - ResourceUtil.getDimension(R.dimen.action_bar_height); // + header.getMeasuredHeight();
|
|
|
final int heightMeasureSpec = View.MeasureSpec.makeMeasureSpec(height, childLpHeight == ViewGroup.LayoutParams.MATCH_PARENT
|
|
|
? View.MeasureSpec.EXACTLY
|
|
|
: View.MeasureSpec.AT_MOST);
|