From 2c58d6f602d8b4ae64a9029d52c2ecfd3f459c25 Mon Sep 17 00:00:00 2001 From: Ivan Baheux Date: Wed, 16 Jul 2025 06:54:19 +0000 Subject: [PATCH] fix: let calculator overlap toolbar when horizontal --- res/layout/toolbar.xml | 2 +- res/values-land/dimens.xml | 7 +++++-- res/values-land/ratios.xml | 4 ++-- res/values/dimens.xml | 2 ++ 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/res/layout/toolbar.xml b/res/layout/toolbar.xml index afc6770e..0c8cd225 100644 --- a/res/layout/toolbar.xml +++ b/res/layout/toolbar.xml @@ -7,7 +7,7 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/toolbar" android:layout_width="match_parent" - android:layout_height="?attr/actionBarSize" + android:layout_height="@dimen/toolbar_height" android:layout_gravity="top"> + + 40dip + 8dip - 28dip + 10dip 16dip 16dip 42dip @@ -15,7 +18,7 @@ 8dip - 28dip + 10dip 16dip 16dip 42dip diff --git a/res/values-land/ratios.xml b/res/values-land/ratios.xml index 582d191a..d69e9fc2 100644 --- a/res/values-land/ratios.xml +++ b/res/values-land/ratios.xml @@ -5,8 +5,8 @@ --> - 0.4 - 0.6 + 0.45 + 0.55 0.33 diff --git a/res/values/dimens.xml b/res/values/dimens.xml index 257776c3..fe11ecf6 100644 --- a/res/values/dimens.xml +++ b/res/values/dimens.xml @@ -4,6 +4,8 @@ SPDX-License-Identifier: Apache-2.0 --> + + 56dip 14dip -- GitLab