Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

ImageButton from Xamarin Forms 3.4: different render behavoir regarding to Image

$
0
0

Old implementation was
class MyImageButton : Image { … }

This I changed to class MyImageButton : ImageButton { … }
On platform UWP it's the same behavoir, iOS I never tested, but on Android it's different.

As it's forbidden to post links I cannot show the picture.
I have the "three Points menu image".
With ImageButton as base I see only the left/top quarter of the image.
With Image as base I see the image as expected.

Top Part is rendered with new ImageButton, the Bottom with my old Image based.

It's no big deal to Keep with my old implementation. But I'm wondering why ImageButton is rendered different from Image on Android.

Regards, Holger Gothan.


Viewing all articles
Browse latest Browse all 204402

Trending Articles