openhab/openhab-android

Wrong colour of button icons in Buttongrid

Closed this issue · 1 comments

Actual behaviour

In a buttongrid, icon in buttons have an unexpected colour. They appear in a kind of light rose (or maybe light orange, I am not sure what is this colour).

Expected behaviour

The icon should keep its original colour.

Steps to reproduce

Here is an example:

			Buttongrid {
				Button row=1 column=1 item=preamp_power click=ON label="Off" icon=switch-off stateless visibility=[preamp_power != ON]
				Button row=1 column=1 item=preamp_power click=OFF label="On" icon=switch-on stateless visibility=[preamp_power == ON]
			}

I am using icons for the classic icon set in this example, switch-off and switch-on. switch-off is a red icon. switch-on is a green icon.

@mueller-ma @maniac103 : is it enough clear or do you need additional captures comparing result in Android app and Basic UI ?