flex-horseshoe-card icon indicating copy to clipboard operation
flex-horseshoe-card copied to clipboard

Card layout issue in App Home Assistant on Android tablet

Open VoetenK opened this issue 3 years ago • 4 comments

I am using the flex horseshoe card on an Android tablet. When I open Home Assistant in Chrome, Firefox or Edge, the layout is correct. When I open Home assistant on my tablest with the App, the laytout is wrong. The problem is that the icons are placed incorrectly. The size of the icon is also larger. How can this be solved? Oke NotOke

VoetenK avatar Apr 05 '21 12:04 VoetenK

Same here - the floating white thing in the bottom right of this screenshot is the "light" icon from the "one bulb" default example - ignore the "geyser", I intentionally removed the icons there.

I anticipate this might be a problem with the Home Assistant app rather than horseshoe card since the card renders fine in chrome on the android device.

Screenshot_20210718-115415_Home Assistant

5ur3n avatar Jul 18 '21 09:07 5ur3n

Same here, on Android app not correctly aligned.. xpos: is with the same value of the circle. `icons:

  • id: 0 animation_id: 0 xpos: 50 ypos: 75

circles:

  • id: 0 animation_id: 0 xpos: 50 ypos: 70 radius: 35 ` b1 b3

Reinqusito avatar Aug 27 '21 17:08 Reinqusito

Similar behaviour for me, but mdi-icon is completely invisible for me in Home Assistant Companion:

Companion: Screenshot_20211011-081132

Chrome (Mobile / PC): 2021-10-11 08_11_14-Window

Card-configuration: card_02.txt

arboeh avatar Oct 11 '21 06:10 arboeh

Very good news: Working for me on Android since latest beta-1534-9f3f552 of Home Assistant Companion.

arboeh avatar Oct 17 '21 06:10 arboeh

Still not working for me. E.g. xpos & ypos of icon lpaces icon correctly in browsers, but it places the icon totally wrong in the Home Assistant Android app. I'm a bit surprised this is still the case after multiple years.

spudje avatar May 03 '23 07:05 spudje

Still not working for me. E.g. xpos & ypos of icon lpaces icon correctly in browsers, but it places the icon totally wrong in the Home Assistant Android app. I'm a bit surprised this is still the case after multiple years.

Did you clear the frontend cache in the Companion App ?

And could you specify the Android & WebView version?

AmoebeLabs avatar May 03 '23 07:05 AmoebeLabs

Apologies, I'm so sorry. Apparently v1.1 broke something and v1.2 fixed it again. My bad.

spudje avatar May 03 '23 07:05 spudje

Apologies, I'm so sorry. Apparently v1.1 broke something and v1.2 fixed it again. My bad.

No worries. v1.1 did not contain the fix for Android. That was v1.2.

Now if that one works for you, I'm happy that I was able to fix that long standing bug!

AmoebeLabs avatar May 03 '23 08:05 AmoebeLabs

Closed.

  • See issue #67

That PR should have fixed this problem.

AmoebeLabs avatar May 03 '23 08:05 AmoebeLabs