I want my button to look like this:
In an attempt to make this happen, I've used XLabs.forms. In order to combine XLabs' ExtendedButton and ImageButton, I copied their implementation of ExtendedButton into my project and set it to inherit from ImageButton.
This is how it turned out:
So what's happening here is that the control includes my image as specified, but fails to align it separately from the text (Orientation="ImageToRight"). This is probably because of HorizontalContentAlignment, which (correctly) sets the text to "Start":
However, I suspect that even if it did align the image separately from the text, it still wouldn't do what I'd like it to do. I think it would look something like this:
Is there any practical way to make my button look like the first image at all using forms? Some way to create several items within a button, and set the gravity separately for each item? Or is forms too limited for this sort of customisation?