openhab-android icon indicating copy to clipboard operation
openhab-android copied to clipboard

Adjust font size

Open mueller-ma opened this issue 6 years ago • 5 comments

I would love to see a zoom button. So I could set the size of the font and other things to my own wishes. Not everyone has big fingers like a sausage :wink:

I have a smartphone with 5.9" screen with resolution better than full HD, so I would love to make all a little bit smaller to get more information on a screen without much scrolling.

Only way to get this is to change Android dpi, but you need root for that…

From https://community.openhab.org/t/android-app-beta/41382/44?u=mueller-ma

mueller-ma avatar Mar 21 '18 15:03 mueller-ma

In fact, changing dpi (either by using the native controls for it in Nougat or hoping for the manufacturer to do it properly) is the right solution for this. I've yet to see a single app that allows manipulating its screen layouts to emulate different screen densities at runtime.

maniac103 avatar Mar 21 '18 20:03 maniac103

When the font is too large in oh, it is too large in other apps as well. Android (or at least lineageos) has the ability to change the font and the layout size systemwide. I dont know which vendor roms have those two options. FireOS has at least the font size option.

mueller-ma avatar Mar 21 '18 21:03 mueller-ma

At least Google devices should have it. Font size is a thing since almost forever, layout size adjustment is mapped to the UI since Nougat (was only available via adb shell before).

maniac103 avatar Mar 21 '18 21:03 maniac103

Shouldn't it be able to implement a slider oder textfield for adjusting stuff like this non the less?

JohannesPtaszyk avatar Apr 13 '18 15:04 JohannesPtaszyk

The problem with font size adjustments like these is that with those it's easy to break layout expectations (set large font size -> broken layout), and it may not be easy to adjust all layouts for that. When setting the dpi globally (like mentioned above), layouts stay intact because the whole UI becomes smaller/larger, the size of the UI elements relative to each other stays the same.

maniac103 avatar Apr 16 '18 06:04 maniac103

Any update on this issue? I have multipe devices with different system-wide font sizes and on the bigger ones, text gets cut

kojid0 avatar Jan 15 '23 05:01 kojid0

There are no updates on this, but with the material design 3 rework of the sitemaps, there's more space for text now.

mueller-ma avatar Jan 15 '23 08:01 mueller-ma

The font size can be changed system-wide. If the font in openHAB is too small, it's also too small in other apps.

mueller-ma avatar Feb 09 '23 07:02 mueller-ma