Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- final float rati = (float) Math.min(Math.max((Math.abs(bottomImage.getY())), 0), headerHeight) / headerHeight;
- title.setAlpha(rati*2.0f);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement