Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Why image inside button doesn't show its own colour?

$
0
0

Hi everyone,

I'm new to Xamarin. I tried to use image inside the button, however, the image doesn't shown with its original colour, even if the standalone image show the correct one.

`<ContentPage.Content>

        <Image
            Source="DeclineIcon.png"
            ></Image>

        <Button
            Image="DeclineIcon.png"
            Text="Button with Image"
            ></Button>
    </StackLayout>
</ContentPage.Content>`

Could anyone help me?


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>