Is it possible to draw a StackLayout within the border of a Button?

JohnHardmanJohnHardman GBUniversity mod

Is it possible to draw a StackLayout within the border of a Button? I have formatted information that I want to show on a Button, but with a visible response that the user has pressed the Button.

At the moment I have am using the StackLayout without an underlying Button, and flashing the background colour of the elements in the StackLayout when any of them is tapped (I could use Color.Transparent for the elements and just flash the background of the StackLayout itself, but didn't).

Is there any way that I can put that StackLayout within a Button? (I'm assuming it's back to custom renderers again...)

Thanks,

John H.

Best Answer

Answers

Sign In or Register to comment.