Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SVG as Xamarin.Forms Button image

I have a Xamarin.Forms Shared project and I'm working on UI (XAML). I want to use SVG image as a button image in my app. The problem is that I don't know how to do that. I will be grateful if someone will show me how to do that step by step.

like image 906
MadTiger2409 Avatar asked Apr 01 '17 12:04

MadTiger2409


Video Answer


1 Answers

You can convert SVG to XAML using Inkscape.

  1. Open the SVG
  2. Save As... Microsoft XAML
  3. Use the XAML in your button style
like image 187
Ketobomb Avatar answered Sep 30 '22 18:09

Ketobomb