Fix shade background not aligning with bottom of a group
The extra padding used to show the shadow at the bottom of a group was wrongly being subtracted from the shade background causing a misalignment with the bottom of the group and the shade background. Change-Id: Ia138fcdcb5428605b59f5448ee125c6b3f3e0d93 Fixes: 29250090
This commit is contained in:
@@ -1958,8 +1958,7 @@ public class NotificationStackScrollLayout extends ViewGroup
|
||||
// we're ending up at the same location as we are now, lets just skip the animation
|
||||
bottom = finalBottom;
|
||||
} else {
|
||||
bottom = (int) (lastView.getTranslationY() + lastView.getActualHeight()
|
||||
- lastView.getExtraBottomPadding());
|
||||
bottom = (int) (lastView.getTranslationY() + lastView.getActualHeight());
|
||||
bottom = Math.min(bottom, getHeight());
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user