robinmanuelthiel / flexbutton

Flexible button control for Xamarin.Forms
MIT License
240 stars 34 forks source link

SVG Icon's doesn't work #90

Open MiqueiasGFernandes opened 4 years ago

MiqueiasGFernandes commented 4 years ago

Hello! I'm using the FlexButton version 0.11. I already read this issue [https://github.com/robinmanuelthiel/flexbutton/issues/9], albeit i'm using the latest version of package, the SVG icons dont are loading on my Android test's. Example:

`                        <flex:FlexButton
                            Icon="next.svg"
                            IconOrientation="Right"
                            Padding="18"
                            IconPadding="10"
                            Text="Avançar"
                            BackgroundColor="#fbfbfb" 
                            ForegroundColor="#a5a5a5" 
                            BorderColor="#a5a5a5" 
                            BorderThickness="2" 
                            Margin="5" 
                            CornerRadius="30" 
                            Grid.Row="0" 
                            Grid.Column="1"/>`

The button show icon padding, but don't show the icon. I'm sure that Icons are on "Resources/drawable" folders, and the Build Action is defined "Android Resource"