Sometimes the value of the item is longer than the screen width and rotating the Android device is the only way to see the item label and its value in full length in a sitemap using Compact mode. But the label and value could be even longer, so that even rotating the device wouldn’t show the complete information.
For a Switch item linked to a channel with <state pattern="%s"/> OH-Android shows neither the item label, nor the toggle itself, but only part of the item‘s value. (In this rendering mode, the user is supposed to see custom text representing the values ON/OFF, a toggle, and the label of the item.) If I click that item, and the state changes from ON to OFF, the toggle is shown, but if I click it again, the toggle disappears. That is, whatever I do, the toggle is shown only when the value is OFF.
- For
Text items in a sitemap, which are shown either as abbreviated (…) label or value, when the user touches the item, the full label and value should be shown to the user.
- For
Switch items the behaviour of hiding and showing the toggle is unexpected.
- The user could be hinted to turn off Compact mode, I personally came to this idea after I have written all the above text, only to find out that when Compact mode is off, everything appears as expected. This hint could be a snack message, where next to a button “Do not show again” a button “Turn off Compact mode” is shown.
- Possibly adjust the description of Compact mode under Settings to state that in this mode some information can be hidden from the user.
Sometimes the value of the item is longer than the screen width and rotating the Android device is the only way to see the item label and its value in full length in a sitemap using Compact mode. But the label and value could be even longer, so that even rotating the device wouldn’t show the complete information.
For a
Switchitem linked to a channel with<state pattern="%s"/>OH-Android shows neither the item label, nor the toggle itself, but only part of the item‘s value. (In this rendering mode, the user is supposed to see custom text representing the values ON/OFF, a toggle, and the label of the item.) If I click that item, and the state changes from ON to OFF, the toggle is shown, but if I click it again, the toggle disappears. That is, whatever I do, the toggle is shown only when the value is OFF.Textitems in a sitemap, which are shown either as abbreviated (…) label or value, when the user touches the item, the full label and value should be shown to the user.Switchitems the behaviour of hiding and showing the toggle is unexpected.