可以在Xamarin.Forms中添加原生浮动按钮吗?

时间:2018-03-14 16:42:36

标签: xaml xamarin xamarin.forms

我看到两篇文章建议可以在Xamarin.Forms的xaml页面中添加本机视图。我看到的文章是https://developer.xamarin.com/guides/xamarin-forms/platform-features/native-views/xaml/#consuminghttps://blog.xamarin.com/embedding-native-controls-into-xamarin-forms/

我想使用xaml为我的Android应用程序添加一个FloatingActionButton(我也在为iOS开发)。可能吗?我怎么能这样做?

1 个答案:

答案 0 :(得分:1)

是的,这是可能的。在Nuget和git中有一些FAB实现。

你也可以自己实现它,为此你需要在droid项目中创建你的FAB渲染器(ios项目)