Open esolzDotnet opened 6 years ago
I'm testing this library as well, and there's no image showing neither. And the button is flat, it doesn't have a circular shape
I haven't been able to reproduce it. What version of Xamarin.Forms, what version of this package, and what size is the fab?
@Juansero29 you are missing the renderer inits.
@SuavePirate I have done both render inits in both platforms. I was trying with this code (with the appropriate xmlns:fab="clr-namespace:SuaveControls.Views;assembly=SuaveControls.FloatingActionButton"
import:
<fab:FloatingActionButton
AbsoluteLayout.LayoutBounds="1,1,AutoSize,AutoSize"
AbsoluteLayout.LayoutFlags="PositionProportional"
Margin="15"
WidthRequest="50"
HeightRequest="50"
Image="ic_person.png"
ButtonColor="#33a0da"/>
The image is a PNG file 96x96 pixels. The result is a flat button (not round) and with no image in both platforms. It is clickable though. I tried both the pre-release and the latest release, non of them are working.
I'm on Xamarin.Forms v.3.0.0561731 and using a .NET Standard project. (your NuGet still depends on PCL when right now it's deprecated, maybe you should migrate to .NET Standard?)
Same here! :(
I haven't had time to work on updating this project yet, and it will become obsolete as the FAB is being added to the Xamarin Forms bundle. My best suggestion for the short term is to just implement it yourself using the source from here in your latest projects. I have a blog post on how to do that which is what lead to publishing this component
I have added the image in the drawable folder but the icon is not showing.
But it's working fine in the IOS section...
Can you guide me please what's the issue here??