mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-01 12:44:42 +00:00
Undo behavior workaround because of side effects
This commit is contained in:
parent
9044c9488c
commit
384dfc9019
2 changed files with 0 additions and 12 deletions
|
@ -42,12 +42,6 @@ public class BehaviorBottomMargin extends CoordinatorLayout.Behavior<View> {
|
|||
return (dependency instanceof Snackbar.SnackbarLayout);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean onLayoutChild(@NonNull CoordinatorLayout parent, @NonNull View child, int layoutDirection) {
|
||||
setMargin(child, 0);
|
||||
return super.onLayoutChild(parent, child, layoutDirection);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean onDependentViewChanged(@NonNull CoordinatorLayout parent, @NonNull View child, @NonNull View dependency) {
|
||||
setMargin(child, dependency.getHeight());
|
||||
|
|
|
@ -42,12 +42,6 @@ public class BehaviorBottomPadding extends CoordinatorLayout.Behavior<View> {
|
|||
return (dependency instanceof Snackbar.SnackbarLayout);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean onLayoutChild(@NonNull CoordinatorLayout parent, @NonNull View child, int layoutDirection) {
|
||||
setPadding(child, 0);
|
||||
return super.onLayoutChild(parent, child, layoutDirection);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean onDependentViewChanged(@NonNull CoordinatorLayout parent, @NonNull View child, @NonNull View dependency) {
|
||||
setPadding(child, dependency.getHeight());
|
||||
|
|
Loading…
Reference in a new issue