From b29060fea5473cb7c4fb81d0ce4be08e8f1c1b3d Mon Sep 17 00:00:00 2001 From: Troy Stanger Date: Wed, 7 Nov 2018 11:20:39 -0600 Subject: [PATCH] Implemented actionsheets for Ooui.Forms. AddNumberUnits() should be called for margin values. --- Ooui.Forms/ActionSheet.cs | 100 ++++++++++++++++++++++++++++++++++++++ Ooui.Forms/Platform.cs | 13 +++++ Ooui/Style.cs | 16 +++--- 3 files changed, 121 insertions(+), 8 deletions(-) create mode 100644 Ooui.Forms/ActionSheet.cs diff --git a/Ooui.Forms/ActionSheet.cs b/Ooui.Forms/ActionSheet.cs new file mode 100644 index 0000000..d0e7ebc --- /dev/null +++ b/Ooui.Forms/ActionSheet.cs @@ -0,0 +1,100 @@ +using System; +using System.Collections.Generic; +using Xamarin.Forms.Internals; + +namespace Ooui.Forms +{ + public class ActionSheet + { + private readonly Button _cancelButton; + private readonly List