From abed55b1ea7f04a0a522d54e369d170a71045cd5 Mon Sep 17 00:00:00 2001 From: Michael Weghorn Date: Wed, 22 Nov 2023 09:27:45 +0100 Subject: tdf#158307 android a11y: Auto-detect toolbar height Instead of hard-coding a toolbar height for the cell address and formula bar in Calc, use `android:layout_height="wrap_content"`, so the height is determined based on the font size. This avoids the text getting cut off when a large font size has been selected in Android's accessibility settings. Change-Id: I9bfbe2b7a1db39ac11d9ed0ab15290f974782489 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159809 Tested-by: Jenkins Reviewed-by: Michael Weghorn --- android/source/res/layout/activity_main.xml | 4 ++-- android/source/res/values/dimens.xml | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'android') diff --git a/android/source/res/layout/activity_main.xml b/android/source/res/layout/activity_main.xml index bd444f9fe79f..c03f0c93aea9 100644 --- a/android/source/res/layout/activity_main.xml +++ b/android/source/res/layout/activity_main.xml @@ -42,7 +42,7 @@ 256dp 48dp 24dp - 40dp 96dp -11dp -7dp -- cgit