Skip to content

Commit

Permalink
Cleaning up
Browse files Browse the repository at this point in the history
  • Loading branch information
anton46 committed Dec 14, 2015
1 parent 0b75e12 commit f18ccc0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Expand Up @@ -61,7 +61,6 @@ public boolean onDependentViewChanged(CoordinatorLayout parent, HeaderView child

childPosition = childPosition - mStartMarginBottom * (1f - percentage);


CoordinatorLayout.LayoutParams lp = (CoordinatorLayout.LayoutParams) child.getLayoutParams();
if (Math.abs(dependency.getY()) >= maxScroll / 2) {
float layoutPercentage = (Math.abs(dependency.getY()) - (maxScroll / 2)) / Math.abs(maxScroll / 2);
Expand Down

0 comments on commit f18ccc0

Please sign in to comment.