openhab / openhab-android

openHAB client for Android
https://play.google.com/store/apps/details?id=org.openhab.habdroid
Eclipse Public License 2.0
606 stars 313 forks source link

Wrong colour of button icons in Buttongrid #3815

Closed lolodomo closed 2 months ago

lolodomo commented 2 months ago

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.

lolodomo commented 2 months ago

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