From 1080c1991a4ff4486c291ae0c7a113402da0b124 Mon Sep 17 00:00:00 2001 From: simone Date: Tue, 26 Dec 2017 12:25:50 +0100 Subject: [PATCH] Fix toolbar height in landscape view --- .../com/view/scalinglib/ScalingLayoutBehavior.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/scalinglib/src/main/java/iammert/com/view/scalinglib/ScalingLayoutBehavior.java b/scalinglib/src/main/java/iammert/com/view/scalinglib/ScalingLayoutBehavior.java index 485cb9a..3286020 100644 --- a/scalinglib/src/main/java/iammert/com/view/scalinglib/ScalingLayoutBehavior.java +++ b/scalinglib/src/main/java/iammert/com/view/scalinglib/ScalingLayoutBehavior.java @@ -4,6 +4,7 @@ import android.support.design.widget.AppBarLayout; import android.support.design.widget.CoordinatorLayout; import android.util.AttributeSet; +import android.util.TypedValue; import android.view.View; /** @@ -16,7 +17,12 @@ public class ScalingLayoutBehavior extends CoordinatorLayout.Behavior