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

Improve hiding section switches

Open mueller-ma opened this issue 2 years ago • 2 comments

Use the actual available space for the switches, not 'just' 80% of the device width.

Signed-off-by: mueller-ma [email protected]

mueller-ma avatar Jan 10 '22 19:01 mueller-ma

And what about the label? This calculation might hide it completely AFAICT?

maniac103 avatar Jan 10 '22 19:01 maniac103

labelView.measuredWidth is always larger than 0, even for items without any label. It's width is set to 0dp. Setting it to wrap_content doesn't seem to make it smaller. Therefore I currently cannot get the real width of the label or value.

mueller-ma avatar Jan 15 '22 19:01 mueller-ma

Sitemaps need a larger rework, see #3097

mueller-ma avatar Nov 24 '22 07:11 mueller-ma