diff --git a/build/Common.Build.props b/build/Common.Build.props
index 3f8cd53f04..0e8e2d69fb 100644
--- a/build/Common.Build.props
+++ b/build/Common.Build.props
@@ -22,6 +22,8 @@
$(NoWarn);NU5105
+ 10
+ true
@@ -29,6 +31,33 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/build/Common.props b/build/Common.props
index fc28bf2ed6..838866c090 100644
--- a/build/Common.props
+++ b/build/Common.props
@@ -16,7 +16,7 @@
True
$(BasePath)artifacts\
- $(BasePath)artifacts\obj\$(OSPlatform)\$(MSBuildProjectName)\
+ $(ArtifactsDir)obj\$(OSPlatform)\$(MSBuildProjectName)\
$(BasePath)src\
$(SourceDir)
$(ArtifactsDir)nuget\$(Configuration)\
diff --git a/src/Directory.Build.props b/src/Directory.Build.props
index 4a3bb4f4ed..cca3f2a93e 100644
--- a/src/Directory.Build.props
+++ b/src/Directory.Build.props
@@ -1,7 +1,11 @@
+
+ true
+
+
- $(BasePath)artifacts\core\$(MSBuildProjectName)\
+ $(ArtifactsDir)core\$(MSBuildProjectName)\
\ No newline at end of file
diff --git a/src/Eto.Android/AndroidHelpers.cs b/src/Eto.Android/AndroidHelpers.cs
index 34a8bf9d34..a891e228d0 100644
--- a/src/Eto.Android/AndroidHelpers.cs
+++ b/src/Eto.Android/AndroidHelpers.cs
@@ -1,9 +1,5 @@
-using System;
using Android.Widget;
using Eto.Android.Forms;
-using Eto.Drawing;
-using Eto.Forms;
-
using av = Android.Views;
using ag = Android.Graphics;
using Android.Views;
diff --git a/src/Eto.Android/ContextMenuHandler.cs b/src/Eto.Android/ContextMenuHandler.cs
index eb58064bc5..672f107b45 100644
--- a/src/Eto.Android/ContextMenuHandler.cs
+++ b/src/Eto.Android/ContextMenuHandler.cs
@@ -1,5 +1,3 @@
-using Eto.Forms;
-
using aa = Android.App;
using ac = Android.Content;
using ao = Android.OS;
@@ -7,11 +5,6 @@
using av = Android.Views;
using aw = Android.Widget;
using ag = Android.Graphics;
-using System.Collections.Generic;
-using System;
-using System.Linq;
-using Eto.Drawing;
-
namespace Eto.Android
{
internal class ContextMenuHandler : WidgetHandler, ContextMenu.IHandler
diff --git a/src/Eto.Android/Conversions.cs b/src/Eto.Android/Conversions.cs
index 5e760b01e5..c372acf6e2 100644
--- a/src/Eto.Android/Conversions.cs
+++ b/src/Eto.Android/Conversions.cs
@@ -1,6 +1,3 @@
-using System;
-using Eto.Forms;
-using Eto.Drawing;
using aa = Android.App;
using ac = Android.Content;
using ao = Android.OS;
diff --git a/src/Eto.Android/Drawing/BitmapHandler.cs b/src/Eto.Android/Drawing/BitmapHandler.cs
index 5e71d847d5..52c77ff602 100644
--- a/src/Eto.Android/Drawing/BitmapHandler.cs
+++ b/src/Eto.Android/Drawing/BitmapHandler.cs
@@ -1,9 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using Eto.Drawing;
-
using aa = Android.App;
using ac = Android.Content;
using ao = Android.OS;
@@ -11,8 +5,6 @@
using av = Android.Views;
using aw = Android.Widget;
using ag = Android.Graphics;
-using System.IO;
-
namespace Eto.Android.Drawing
{
///
diff --git a/src/Eto.Android/Drawing/BrushHandler.cs b/src/Eto.Android/Drawing/BrushHandler.cs
index 6af7436641..76fd7cc09d 100644
--- a/src/Eto.Android/Drawing/BrushHandler.cs
+++ b/src/Eto.Android/Drawing/BrushHandler.cs
@@ -1,9 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using Eto.Drawing;
-
using aa = Android.App;
using ac = Android.Content;
using ao = Android.OS;
diff --git a/src/Eto.Android/Drawing/FontFamilyHandler.cs b/src/Eto.Android/Drawing/FontFamilyHandler.cs
index 6e139aa15d..e7f05a1fb9 100644
--- a/src/Eto.Android/Drawing/FontFamilyHandler.cs
+++ b/src/Eto.Android/Drawing/FontFamilyHandler.cs
@@ -1,9 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using Eto.Drawing;
-
using aa = Android.App;
using ac = Android.Content;
using ao = Android.OS;
diff --git a/src/Eto.Android/Drawing/FontHandler.cs b/src/Eto.Android/Drawing/FontHandler.cs
index 1cabf280c0..38fb9d1e8f 100644
--- a/src/Eto.Android/Drawing/FontHandler.cs
+++ b/src/Eto.Android/Drawing/FontHandler.cs
@@ -1,9 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using Eto.Drawing;
-
using aa = Android.App;
using ac = Android.Content;
using ao = Android.OS;
diff --git a/src/Eto.Android/Drawing/FontTypefaceHandler.cs b/src/Eto.Android/Drawing/FontTypefaceHandler.cs
index c633721631..dced4c2e05 100644
--- a/src/Eto.Android/Drawing/FontTypefaceHandler.cs
+++ b/src/Eto.Android/Drawing/FontTypefaceHandler.cs
@@ -1,9 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.IO;
-using Eto.Forms;
-using Eto.Drawing;
-
using aa = Android.App;
using ac = Android.Content;
using ao = Android.OS;
diff --git a/src/Eto.Android/Drawing/FontsHandler.cs b/src/Eto.Android/Drawing/FontsHandler.cs
index a932b8a801..dc4c333feb 100644
--- a/src/Eto.Android/Drawing/FontsHandler.cs
+++ b/src/Eto.Android/Drawing/FontsHandler.cs
@@ -1,9 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using Eto.Drawing;
-
using aa = Android.App;
using ac = Android.Content;
using ao = Android.OS;
@@ -12,8 +6,6 @@
using aw = Android.Widget;
using ag = Android.Graphics;
using System.Xml.Linq;
-using System.IO;
-
namespace Eto.Android.Drawing
{
public class FontsHandler : WidgetHandler, Fonts.IHandler
diff --git a/src/Eto.Android/Drawing/FormattedTextHandler.cs b/src/Eto.Android/Drawing/FormattedTextHandler.cs
index 3a5032ae47..981b621a10 100644
--- a/src/Eto.Android/Drawing/FormattedTextHandler.cs
+++ b/src/Eto.Android/Drawing/FormattedTextHandler.cs
@@ -1,9 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using Eto.Drawing;
-
using aa = Android.App;
using ac = Android.Content;
using ao = Android.OS;
diff --git a/src/Eto.Android/Drawing/GraphicsHandler.cs b/src/Eto.Android/Drawing/GraphicsHandler.cs
index b5747fe2de..694b86bc48 100644
--- a/src/Eto.Android/Drawing/GraphicsHandler.cs
+++ b/src/Eto.Android/Drawing/GraphicsHandler.cs
@@ -1,9 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using Eto.Drawing;
-
using aa = Android.App;
using ac = Android.Content;
using ao = Android.OS;
diff --git a/src/Eto.Android/Drawing/GraphicsPathHandler.cs b/src/Eto.Android/Drawing/GraphicsPathHandler.cs
index a578c92b8d..8fdf2374a4 100644
--- a/src/Eto.Android/Drawing/GraphicsPathHandler.cs
+++ b/src/Eto.Android/Drawing/GraphicsPathHandler.cs
@@ -1,9 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using Eto.Drawing;
-
using aa = Android.App;
using ac = Android.Content;
using ao = Android.OS;
diff --git a/src/Eto.Android/Drawing/IconHandler.cs b/src/Eto.Android/Drawing/IconHandler.cs
index 470c5b58ef..3dae645fce 100644
--- a/src/Eto.Android/Drawing/IconHandler.cs
+++ b/src/Eto.Android/Drawing/IconHandler.cs
@@ -1,9 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using Eto.Drawing;
-
using aa = Android.App;
using ac = Android.Content;
using ao = Android.OS;
@@ -11,8 +5,6 @@
using av = Android.Views;
using aw = Android.Widget;
using ag = Android.Graphics;
-using Eto.Forms;
-
namespace Eto.Android.Drawing
{
class IconFrameHandler : IconFrame.IHandler
diff --git a/src/Eto.Android/Drawing/IndexedBitmapHandler.cs b/src/Eto.Android/Drawing/IndexedBitmapHandler.cs
index f23988d4f4..e5b70dcf79 100644
--- a/src/Eto.Android/Drawing/IndexedBitmapHandler.cs
+++ b/src/Eto.Android/Drawing/IndexedBitmapHandler.cs
@@ -1,9 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using Eto.Drawing;
-
using aa = Android.App;
using ac = Android.Content;
using ao = Android.OS;
diff --git a/src/Eto.Android/Drawing/LinearGradientBrushHandler.cs b/src/Eto.Android/Drawing/LinearGradientBrushHandler.cs
index cf74f53029..20ad06496b 100644
--- a/src/Eto.Android/Drawing/LinearGradientBrushHandler.cs
+++ b/src/Eto.Android/Drawing/LinearGradientBrushHandler.cs
@@ -1,9 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using Eto.Drawing;
-
using aa = Android.App;
using ac = Android.Content;
using ao = Android.OS;
diff --git a/src/Eto.Android/Drawing/MatrixHandler.cs b/src/Eto.Android/Drawing/MatrixHandler.cs
index 67d8279810..09e36fddff 100644
--- a/src/Eto.Android/Drawing/MatrixHandler.cs
+++ b/src/Eto.Android/Drawing/MatrixHandler.cs
@@ -1,9 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using Eto.Drawing;
-
using aa = Android.App;
using ac = Android.Content;
using ao = Android.OS;
diff --git a/src/Eto.Android/Drawing/PenHandler.cs b/src/Eto.Android/Drawing/PenHandler.cs
index de8ab08f6b..36545fbe02 100644
--- a/src/Eto.Android/Drawing/PenHandler.cs
+++ b/src/Eto.Android/Drawing/PenHandler.cs
@@ -1,9 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using Eto.Drawing;
-
using aa = Android.App;
using ac = Android.Content;
using ao = Android.OS;
diff --git a/src/Eto.Android/Drawing/SolidBrushHandler.cs b/src/Eto.Android/Drawing/SolidBrushHandler.cs
index 27b5ca3007..2e5094b44b 100644
--- a/src/Eto.Android/Drawing/SolidBrushHandler.cs
+++ b/src/Eto.Android/Drawing/SolidBrushHandler.cs
@@ -1,9 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using Eto.Drawing;
-
using aa = Android.App;
using ac = Android.Content;
using ao = Android.OS;
diff --git a/src/Eto.Android/Drawing/SystemColorsHandler.cs b/src/Eto.Android/Drawing/SystemColorsHandler.cs
index 5ccd790fdc..1a7cf8c336 100644
--- a/src/Eto.Android/Drawing/SystemColorsHandler.cs
+++ b/src/Eto.Android/Drawing/SystemColorsHandler.cs
@@ -1,5 +1,3 @@
-using Eto.Drawing;
-
namespace Eto.Android
{
public class SystemColorsHandler : SystemColors.IHandler
diff --git a/src/Eto.Android/Drawing/TextureBrushHandler.cs b/src/Eto.Android/Drawing/TextureBrushHandler.cs
index f6dd8e0720..a679e74759 100644
--- a/src/Eto.Android/Drawing/TextureBrushHandler.cs
+++ b/src/Eto.Android/Drawing/TextureBrushHandler.cs
@@ -1,9 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using Eto.Drawing;
-
using aa = Android.App;
using ac = Android.Content;
using ao = Android.OS;
diff --git a/src/Eto.Android/Forms/AndroidContainer.cs b/src/Eto.Android/Forms/AndroidContainer.cs
index 2f17d58607..688ac60aa1 100644
--- a/src/Eto.Android/Forms/AndroidContainer.cs
+++ b/src/Eto.Android/Forms/AndroidContainer.cs
@@ -1,7 +1,3 @@
-using System;
-using System.Collections.Generic;
-using Eto.Forms;
-using Eto.Drawing;
using a = Android;
using av = Android.Views;
using aw = Android.Widget;
diff --git a/src/Eto.Android/Forms/AndroidControl.cs b/src/Eto.Android/Forms/AndroidControl.cs
index 1e5b77ed48..153ff9e8e2 100644
--- a/src/Eto.Android/Forms/AndroidControl.cs
+++ b/src/Eto.Android/Forms/AndroidControl.cs
@@ -1,9 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using Eto.Forms;
-using Eto.Drawing;
-
using a = Android;
using av = Android.Views;
diff --git a/src/Eto.Android/Forms/AndroidExtensions.cs b/src/Eto.Android/Forms/AndroidExtensions.cs
index b7c0dd45ac..3b1a5c2274 100644
--- a/src/Eto.Android/Forms/AndroidExtensions.cs
+++ b/src/Eto.Android/Forms/AndroidExtensions.cs
@@ -1,6 +1,3 @@
-using System;
-using Eto.Forms;
-using Eto.Drawing;
using a = Android;
using av = Android.Views;
using aw = Android.Widget;
diff --git a/src/Eto.Android/Forms/AndroidPanel.cs b/src/Eto.Android/Forms/AndroidPanel.cs
index 0bcfd7397c..4983a54b15 100644
--- a/src/Eto.Android/Forms/AndroidPanel.cs
+++ b/src/Eto.Android/Forms/AndroidPanel.cs
@@ -1,6 +1,3 @@
-using System;
-using Eto.Forms;
-using Eto.Drawing;
using a = Android;
using av = Android.Views;
using aw = Android.Widget;
diff --git a/src/Eto.Android/Forms/AndroidTextControl.cs b/src/Eto.Android/Forms/AndroidTextControl.cs
index b2a6b91423..49b0b478b2 100644
--- a/src/Eto.Android/Forms/AndroidTextControl.cs
+++ b/src/Eto.Android/Forms/AndroidTextControl.cs
@@ -1,6 +1,3 @@
-using Eto.Forms;
-using Eto.Drawing;
-
using aw = Android.Widget;
using at = Android.Text;
using av = Android.Views;
diff --git a/src/Eto.Android/Forms/AndroidWindow.cs b/src/Eto.Android/Forms/AndroidWindow.cs
index 2ebbfc15d4..3abf60de10 100644
--- a/src/Eto.Android/Forms/AndroidWindow.cs
+++ b/src/Eto.Android/Forms/AndroidWindow.cs
@@ -1,7 +1,3 @@
-using System;
-using System.Threading.Tasks;
-using Eto.Forms;
-using Eto.Drawing;
using a = Android;
using av = Android.Views;
using aw = Android.Widget;
diff --git a/src/Eto.Android/Forms/ApplicationHandler.cs b/src/Eto.Android/Forms/ApplicationHandler.cs
index a0fcda6d47..c218e7f3fc 100644
--- a/src/Eto.Android/Forms/ApplicationHandler.cs
+++ b/src/Eto.Android/Forms/ApplicationHandler.cs
@@ -1,8 +1,3 @@
-using System;
-using System.Threading;
-using System.Threading.Tasks;
-using Eto.Forms;
-
using a = Android;
using ao = Android.OS;
diff --git a/src/Eto.Android/Forms/Cells/CheckBoxCellHandler.cs b/src/Eto.Android/Forms/Cells/CheckBoxCellHandler.cs
index f13037a4d9..1f4aac1610 100644
--- a/src/Eto.Android/Forms/Cells/CheckBoxCellHandler.cs
+++ b/src/Eto.Android/Forms/Cells/CheckBoxCellHandler.cs
@@ -1,8 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-
using aa = Android.App;
using ac = Android.Content;
using ao = Android.OS;
@@ -10,8 +5,6 @@
using av = Android.Views;
using aw = Android.Widget;
using ag = Android.Graphics;
-using Eto.Forms;
-
namespace Eto.Android.Forms.Cells
{
public class CheckBoxCellHandler : CellHandler, CheckBoxCell.IHandler
diff --git a/src/Eto.Android/Forms/Cells/ComboBoxCellHandler.cs b/src/Eto.Android/Forms/Cells/ComboBoxCellHandler.cs
index 68633ec060..9f560aa2bb 100644
--- a/src/Eto.Android/Forms/Cells/ComboBoxCellHandler.cs
+++ b/src/Eto.Android/Forms/Cells/ComboBoxCellHandler.cs
@@ -1,8 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-
using aa = Android.App;
using ac = Android.Content;
using ao = Android.OS;
@@ -10,8 +5,6 @@
using av = Android.Views;
using aw = Android.Widget;
using ag = Android.Graphics;
-using Eto.Forms;
-
namespace Eto.Android.Forms.Cells
{
public class ComboBoxCellHandler : CellHandler, ComboBoxCell.IHandler
diff --git a/src/Eto.Android/Forms/Cells/ICellHandler.cs b/src/Eto.Android/Forms/Cells/ICellHandler.cs
index 7028bb4511..f3626ec8f4 100644
--- a/src/Eto.Android/Forms/Cells/ICellHandler.cs
+++ b/src/Eto.Android/Forms/Cells/ICellHandler.cs
@@ -1,4 +1,3 @@
-using Eto.Forms;
using av = Android.Views;
namespace Eto.Android.Forms.Cells
diff --git a/src/Eto.Android/Forms/Cells/ImageTextCellHandler.cs b/src/Eto.Android/Forms/Cells/ImageTextCellHandler.cs
index 47d5b96ef6..dc6f3089ab 100644
--- a/src/Eto.Android/Forms/Cells/ImageTextCellHandler.cs
+++ b/src/Eto.Android/Forms/Cells/ImageTextCellHandler.cs
@@ -1,10 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using Eto.Forms;
-using Eto.Drawing;
-
using aa = Android.App;
using ac = Android.Content;
using ao = Android.OS;
diff --git a/src/Eto.Android/Forms/Cells/ImageViewCellHandler.cs b/src/Eto.Android/Forms/Cells/ImageViewCellHandler.cs
index 4c40828575..b8cfa23d79 100644
--- a/src/Eto.Android/Forms/Cells/ImageViewCellHandler.cs
+++ b/src/Eto.Android/Forms/Cells/ImageViewCellHandler.cs
@@ -1,10 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using Eto.Forms;
-using Eto.Drawing;
-
using aa = Android.App;
using ac = Android.Content;
using ao = Android.OS;
diff --git a/src/Eto.Android/Forms/Cells/ProgressCellHandler.cs b/src/Eto.Android/Forms/Cells/ProgressCellHandler.cs
index ed3198e3cc..8df3fdf7a1 100644
--- a/src/Eto.Android/Forms/Cells/ProgressCellHandler.cs
+++ b/src/Eto.Android/Forms/Cells/ProgressCellHandler.cs
@@ -1,8 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-
using aa = Android.App;
using ac = Android.Content;
using ao = Android.OS;
@@ -10,8 +5,6 @@
using av = Android.Views;
using aw = Android.Widget;
using ag = Android.Graphics;
-using Eto.Forms;
-
namespace Eto.Android.Forms.Cells
{
public class ProgressCellHandler : CellHandler, ProgressCell.IHandler
diff --git a/src/Eto.Android/Forms/Cells/TextBoxCellHandler.cs b/src/Eto.Android/Forms/Cells/TextBoxCellHandler.cs
index fe398fbb27..06594a23f3 100644
--- a/src/Eto.Android/Forms/Cells/TextBoxCellHandler.cs
+++ b/src/Eto.Android/Forms/Cells/TextBoxCellHandler.cs
@@ -1,8 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-
using aa = Android.App;
using ac = Android.Content;
using ao = Android.OS;
@@ -10,8 +5,6 @@
using av = Android.Views;
using aw = Android.Widget;
using ag = Android.Graphics;
-using Eto.Forms;
-
namespace Eto.Android.Forms.Cells
{
public class TextBoxCellHandler : CellHandler, TextBoxCell.IHandler
diff --git a/src/Eto.Android/Forms/Controls/AndroidCommonControl.cs b/src/Eto.Android/Forms/Controls/AndroidCommonControl.cs
index 86b24aafc5..4b6584e776 100644
--- a/src/Eto.Android/Forms/Controls/AndroidCommonControl.cs
+++ b/src/Eto.Android/Forms/Controls/AndroidCommonControl.cs
@@ -1,7 +1,3 @@
-using System;
-using Eto.Forms;
-using Eto.Drawing;
-
using av = Android.Views;
using aw = Android.Widget;
using au = Android.Util;
diff --git a/src/Eto.Android/Forms/Controls/ButtonHandler.cs b/src/Eto.Android/Forms/Controls/ButtonHandler.cs
index 95b8ff228c..2cea58d0de 100644
--- a/src/Eto.Android/Forms/Controls/ButtonHandler.cs
+++ b/src/Eto.Android/Forms/Controls/ButtonHandler.cs
@@ -1,10 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using Eto.Forms;
-using Eto.Drawing;
-
using aa = Android.App;
using ac = Android.Content;
using ao = Android.OS;
diff --git a/src/Eto.Android/Forms/Controls/CheckBoxHandler.cs b/src/Eto.Android/Forms/Controls/CheckBoxHandler.cs
index 525301fe38..4d402d7ffc 100644
--- a/src/Eto.Android/Forms/Controls/CheckBoxHandler.cs
+++ b/src/Eto.Android/Forms/Controls/CheckBoxHandler.cs
@@ -1,8 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using Eto.Forms;
using aa = Android.App;
using ac = Android.Content;
using ao = Android.OS;
@@ -10,8 +5,6 @@
using av = Android.Views;
using aw = Android.Widget;
using ag = Android.Graphics;
-using Eto.Drawing;
-
namespace Eto.Android.Forms.Controls
{
public class CheckBoxHandler : AndroidCommonControl, CheckBox.IHandler
diff --git a/src/Eto.Android/Forms/Controls/ComboBoxHandler.cs b/src/Eto.Android/Forms/Controls/ComboBoxHandler.cs
index 9ddc316c90..a635ca00ca 100644
--- a/src/Eto.Android/Forms/Controls/ComboBoxHandler.cs
+++ b/src/Eto.Android/Forms/Controls/ComboBoxHandler.cs
@@ -1,10 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using Eto.Forms;
-using Eto.Drawing;
-
using aa = Android.App;
using ac = Android.Content;
using ao = Android.OS;
diff --git a/src/Eto.Android/Forms/Controls/DateTimePickerHandler.cs b/src/Eto.Android/Forms/Controls/DateTimePickerHandler.cs
index 4834ce9164..053b1d5b46 100644
--- a/src/Eto.Android/Forms/Controls/DateTimePickerHandler.cs
+++ b/src/Eto.Android/Forms/Controls/DateTimePickerHandler.cs
@@ -1,9 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using Eto.Forms;
-
using aa = Android.App;
using ac = Android.Content;
using ao = Android.OS;
diff --git a/src/Eto.Android/Forms/Controls/DrawableHandler.cs b/src/Eto.Android/Forms/Controls/DrawableHandler.cs
index dc4f2e744a..4875e975ac 100644
--- a/src/Eto.Android/Forms/Controls/DrawableHandler.cs
+++ b/src/Eto.Android/Forms/Controls/DrawableHandler.cs
@@ -1,6 +1,3 @@
-using System;
-using Eto.Forms;
-using Eto.Drawing;
using Eto.Android.Drawing;
using aa = Android.App;
diff --git a/src/Eto.Android/Forms/Controls/DropDownHandler.cs b/src/Eto.Android/Forms/Controls/DropDownHandler.cs
index 6cd136f725..a5ebc672af 100644
--- a/src/Eto.Android/Forms/Controls/DropDownHandler.cs
+++ b/src/Eto.Android/Forms/Controls/DropDownHandler.cs
@@ -1,10 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using Eto.Forms;
-using Eto.Drawing;
-
using aa = Android.App;
using ac = Android.Content;
using ao = Android.OS;
diff --git a/src/Eto.Android/Forms/Controls/FontPickerHandler.cs b/src/Eto.Android/Forms/Controls/FontPickerHandler.cs
index 13cf0bd464..8299a30cff 100644
--- a/src/Eto.Android/Forms/Controls/FontPickerHandler.cs
+++ b/src/Eto.Android/Forms/Controls/FontPickerHandler.cs
@@ -1,10 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using Eto.Forms;
-using Eto.Drawing;
-
using aa = Android.App;
using ac = Android.Content;
using ao = Android.OS;
diff --git a/src/Eto.Android/Forms/Controls/GridColumnHandler.cs b/src/Eto.Android/Forms/Controls/GridColumnHandler.cs
index 49a1361572..c6d1ab24cd 100644
--- a/src/Eto.Android/Forms/Controls/GridColumnHandler.cs
+++ b/src/Eto.Android/Forms/Controls/GridColumnHandler.cs
@@ -1,9 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using Eto.Forms;
-
using aa = Android.App;
using ac = Android.Content;
using ao = Android.OS;
diff --git a/src/Eto.Android/Forms/Controls/GridViewHandler.cs b/src/Eto.Android/Forms/Controls/GridViewHandler.cs
index a10b101507..679daca2c1 100644
--- a/src/Eto.Android/Forms/Controls/GridViewHandler.cs
+++ b/src/Eto.Android/Forms/Controls/GridViewHandler.cs
@@ -1,9 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using Eto.Forms;
-
using aa = Android.App;
using ac = Android.Content;
using ao = Android.OS;
@@ -12,8 +6,6 @@
using aw = Android.Widget;
using ag = Android.Graphics;
using Eto.Android.Forms.Cells;
-using Eto.Drawing;
-
namespace Eto.Android.Forms.Controls
{
public class GridViewHandler : AndroidControl, GridView.IHandler
diff --git a/src/Eto.Android/Forms/Controls/GroupBoxHandler.cs b/src/Eto.Android/Forms/Controls/GroupBoxHandler.cs
index b5597578d7..248bca9379 100644
--- a/src/Eto.Android/Forms/Controls/GroupBoxHandler.cs
+++ b/src/Eto.Android/Forms/Controls/GroupBoxHandler.cs
@@ -1,9 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using Eto.Forms;
-
using aa = Android.App;
using ac = Android.Content;
using ao = Android.OS;
diff --git a/src/Eto.Android/Forms/Controls/ImageViewHandler.cs b/src/Eto.Android/Forms/Controls/ImageViewHandler.cs
index 423f5d8d0d..9888845cfa 100644
--- a/src/Eto.Android/Forms/Controls/ImageViewHandler.cs
+++ b/src/Eto.Android/Forms/Controls/ImageViewHandler.cs
@@ -1,9 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using Eto.Forms;
-
using aa = Android.App;
using ac = Android.Content;
using ao = Android.OS;
@@ -11,8 +5,6 @@
using av = Android.Views;
using aw = Android.Widget;
using ag = Android.Graphics;
-using Eto.Drawing;
-
namespace Eto.Android.Forms.Controls
{
public class ImageViewHandler : AndroidControl, ImageView.IHandler
diff --git a/src/Eto.Android/Forms/Controls/LabelHandler.cs b/src/Eto.Android/Forms/Controls/LabelHandler.cs
index 706f5f5efc..62e93c03ea 100644
--- a/src/Eto.Android/Forms/Controls/LabelHandler.cs
+++ b/src/Eto.Android/Forms/Controls/LabelHandler.cs
@@ -1,6 +1,3 @@
-using System;
-using Eto.Forms;
-using Eto.Drawing;
using a = Android;
using av = Android.Views;
using aw = Android.Widget;
diff --git a/src/Eto.Android/Forms/Controls/LinkButtonHandler.cs b/src/Eto.Android/Forms/Controls/LinkButtonHandler.cs
index b16d29267c..2daa7f769d 100644
--- a/src/Eto.Android/Forms/Controls/LinkButtonHandler.cs
+++ b/src/Eto.Android/Forms/Controls/LinkButtonHandler.cs
@@ -1,6 +1,3 @@
-using System;
-using Eto.Drawing;
-using Eto.Forms;
using Eto.Android.Forms.Controls;
using aa = Android.App;
diff --git a/src/Eto.Android/Forms/Controls/ListBoxHandler.cs b/src/Eto.Android/Forms/Controls/ListBoxHandler.cs
index c33747bbc1..747b1e8735 100644
--- a/src/Eto.Android/Forms/Controls/ListBoxHandler.cs
+++ b/src/Eto.Android/Forms/Controls/ListBoxHandler.cs
@@ -1,10 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using Eto.Forms;
-using Eto.Drawing;
-
using aa = Android.App;
using ac = Android.Content;
using ao = Android.OS;
diff --git a/src/Eto.Android/Forms/Controls/NavigationHandler.cs b/src/Eto.Android/Forms/Controls/NavigationHandler.cs
index 76da5146d5..3098585d18 100644
--- a/src/Eto.Android/Forms/Controls/NavigationHandler.cs
+++ b/src/Eto.Android/Forms/Controls/NavigationHandler.cs
@@ -1,5 +1,3 @@
-using System;
-
using aa = Android.App;
using ac = Android.Content;
using ao = Android.OS;
@@ -7,9 +5,6 @@
using av = Android.Views;
using aw = Android.Widget;
using ag = Android.Graphics;
-using Eto.Forms;
-using System.Collections.Generic;
-
namespace Eto.Android.Forms.Controls
{
[aa.Activity]
diff --git a/src/Eto.Android/Forms/Controls/NumericStepperHandler.cs b/src/Eto.Android/Forms/Controls/NumericStepperHandler.cs
index ec1884e740..cb622a2f71 100644
--- a/src/Eto.Android/Forms/Controls/NumericStepperHandler.cs
+++ b/src/Eto.Android/Forms/Controls/NumericStepperHandler.cs
@@ -1,9 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using Eto.Forms;
-
using aa = Android.App;
using ac = Android.Content;
using ao = Android.OS;
@@ -11,9 +5,7 @@
using av = Android.Views;
using aw = Android.Widget;
using ag = Android.Graphics;
-using System.Globalization;
using Android.Widget;
-using Eto.Drawing;
using Android.Views;
namespace Eto.Android.Forms.Controls
diff --git a/src/Eto.Android/Forms/Controls/NumericUpDownHandler.cs b/src/Eto.Android/Forms/Controls/NumericUpDownHandler.cs
index 8b6c154cb1..fa856cd30b 100644
--- a/src/Eto.Android/Forms/Controls/NumericUpDownHandler.cs
+++ b/src/Eto.Android/Forms/Controls/NumericUpDownHandler.cs
@@ -1,9 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using Eto.Forms;
-
using aa = Android.App;
using ac = Android.Content;
using ao = Android.OS;
@@ -11,9 +5,7 @@
using av = Android.Views;
using aw = Android.Widget;
using ag = Android.Graphics;
-using System.Globalization;
using Android.Widget;
-using Eto.Drawing;
using Android.Views;
namespace Eto.Android.Forms.Controls
diff --git a/src/Eto.Android/Forms/Controls/PanelHandler.cs b/src/Eto.Android/Forms/Controls/PanelHandler.cs
index b8c9172d23..09fd4e1734 100644
--- a/src/Eto.Android/Forms/Controls/PanelHandler.cs
+++ b/src/Eto.Android/Forms/Controls/PanelHandler.cs
@@ -1,9 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using Eto.Forms;
-
using aa = Android.App;
using ac = Android.Content;
using ao = Android.OS;
diff --git a/src/Eto.Android/Forms/Controls/PasswordBoxHandler.cs b/src/Eto.Android/Forms/Controls/PasswordBoxHandler.cs
index 52abe8edfe..2cf0488124 100644
--- a/src/Eto.Android/Forms/Controls/PasswordBoxHandler.cs
+++ b/src/Eto.Android/Forms/Controls/PasswordBoxHandler.cs
@@ -1,10 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using Eto.Forms;
-using Eto.Drawing;
-
using aa = Android.App;
using ac = Android.Content;
using ao = Android.OS;
diff --git a/src/Eto.Android/Forms/Controls/ProgressBarHandler.cs b/src/Eto.Android/Forms/Controls/ProgressBarHandler.cs
index c1222ed863..a4f2f78488 100644
--- a/src/Eto.Android/Forms/Controls/ProgressBarHandler.cs
+++ b/src/Eto.Android/Forms/Controls/ProgressBarHandler.cs
@@ -1,6 +1,3 @@
-using System;
-using Eto.Forms;
-
using aa = Android.App;
using ac = Android.Content;
using ao = Android.OS;
diff --git a/src/Eto.Android/Forms/Controls/RadioButtonHandler.cs b/src/Eto.Android/Forms/Controls/RadioButtonHandler.cs
index df9758f0cc..51f9c7bc3c 100644
--- a/src/Eto.Android/Forms/Controls/RadioButtonHandler.cs
+++ b/src/Eto.Android/Forms/Controls/RadioButtonHandler.cs
@@ -1,10 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using Eto.Forms;
-using Eto.Drawing;
-
using aa = Android.App;
using ac = Android.Content;
using ao = Android.OS;
diff --git a/src/Eto.Android/Forms/Controls/ScrollableHandler.cs b/src/Eto.Android/Forms/Controls/ScrollableHandler.cs
index 6cf9c1dc73..b07a1b1cfb 100644
--- a/src/Eto.Android/Forms/Controls/ScrollableHandler.cs
+++ b/src/Eto.Android/Forms/Controls/ScrollableHandler.cs
@@ -1,9 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using Eto.Forms;
-using Eto.Drawing;
using aa = Android.App;
using ac = Android.Content;
using ao = Android.OS;
diff --git a/src/Eto.Android/Forms/Controls/SearchBoxHandler.cs b/src/Eto.Android/Forms/Controls/SearchBoxHandler.cs
index f4c999d06f..1b4636bd31 100644
--- a/src/Eto.Android/Forms/Controls/SearchBoxHandler.cs
+++ b/src/Eto.Android/Forms/Controls/SearchBoxHandler.cs
@@ -1,9 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using Eto.Forms;
-
using aa = Android.App;
using ac = Android.Content;
using ao = Android.OS;
diff --git a/src/Eto.Android/Forms/Controls/SliderHandler.cs b/src/Eto.Android/Forms/Controls/SliderHandler.cs
index d0f5d1a09d..291fe25537 100644
--- a/src/Eto.Android/Forms/Controls/SliderHandler.cs
+++ b/src/Eto.Android/Forms/Controls/SliderHandler.cs
@@ -1,9 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using Eto.Forms;
-
using aa = Android.App;
using ac = Android.Content;
using ao = Android.OS;
diff --git a/src/Eto.Android/Forms/Controls/SpinnerHandler.cs b/src/Eto.Android/Forms/Controls/SpinnerHandler.cs
index fd88c5dc9a..c02a7807e6 100644
--- a/src/Eto.Android/Forms/Controls/SpinnerHandler.cs
+++ b/src/Eto.Android/Forms/Controls/SpinnerHandler.cs
@@ -1,6 +1,3 @@
-using System;
-using Eto.Forms;
-
using aa = Android.App;
using ac = Android.Content;
using ao = Android.OS;
diff --git a/src/Eto.Android/Forms/Controls/SplitterHandler.cs b/src/Eto.Android/Forms/Controls/SplitterHandler.cs
index 2c502c7d99..b636027ffd 100644
--- a/src/Eto.Android/Forms/Controls/SplitterHandler.cs
+++ b/src/Eto.Android/Forms/Controls/SplitterHandler.cs
@@ -1,9 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using Eto.Forms;
-
using aa = Android.App;
using ac = Android.Content;
using ao = Android.OS;
diff --git a/src/Eto.Android/Forms/Controls/TabControlHandler.cs b/src/Eto.Android/Forms/Controls/TabControlHandler.cs
index baa981c96e..fe46fe1469 100644
--- a/src/Eto.Android/Forms/Controls/TabControlHandler.cs
+++ b/src/Eto.Android/Forms/Controls/TabControlHandler.cs
@@ -1,9 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using Eto.Forms;
-
using aa = Android.App;
using ac = Android.Content;
using ao = Android.OS;
diff --git a/src/Eto.Android/Forms/Controls/TabPageHandler.cs b/src/Eto.Android/Forms/Controls/TabPageHandler.cs
index a511528411..9097e43950 100644
--- a/src/Eto.Android/Forms/Controls/TabPageHandler.cs
+++ b/src/Eto.Android/Forms/Controls/TabPageHandler.cs
@@ -1,9 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using Eto.Forms;
-
using aa = Android.App;
using ac = Android.Content;
using ao = Android.OS;
diff --git a/src/Eto.Android/Forms/Controls/TextAreaHandler.cs b/src/Eto.Android/Forms/Controls/TextAreaHandler.cs
index 14e2048279..bca0b13586 100644
--- a/src/Eto.Android/Forms/Controls/TextAreaHandler.cs
+++ b/src/Eto.Android/Forms/Controls/TextAreaHandler.cs
@@ -1,7 +1,3 @@
-using System;
-using Eto.Forms;
-using Eto.Drawing;
-
using aa = Android.App;
using ac = Android.Content;
using ao = Android.OS;
diff --git a/src/Eto.Android/Forms/Controls/TextBoxHandler.cs b/src/Eto.Android/Forms/Controls/TextBoxHandler.cs
index 41b763d128..5d7450868a 100644
--- a/src/Eto.Android/Forms/Controls/TextBoxHandler.cs
+++ b/src/Eto.Android/Forms/Controls/TextBoxHandler.cs
@@ -1,6 +1,3 @@
-using System;
-using Eto.Forms;
-
using av = Android.Views;
using aw = Android.Widget;
using at = Android.Text;
diff --git a/src/Eto.Android/Forms/Controls/TreeGridViewHandler.cs b/src/Eto.Android/Forms/Controls/TreeGridViewHandler.cs
index 89cc442b1a..147a675356 100644
--- a/src/Eto.Android/Forms/Controls/TreeGridViewHandler.cs
+++ b/src/Eto.Android/Forms/Controls/TreeGridViewHandler.cs
@@ -1,9 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using Eto.Forms;
-
using aa = Android.App;
using ac = Android.Content;
using ao = Android.OS;
diff --git a/src/Eto.Android/Forms/Controls/TreeViewHandler.cs b/src/Eto.Android/Forms/Controls/TreeViewHandler.cs
index 8c31c612cf..f6271cb8b0 100644
--- a/src/Eto.Android/Forms/Controls/TreeViewHandler.cs
+++ b/src/Eto.Android/Forms/Controls/TreeViewHandler.cs
@@ -1,9 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using Eto.Forms;
-
using aa = Android.App;
using ac = Android.Content;
using ao = Android.OS;
diff --git a/src/Eto.Android/Forms/Controls/WebViewHandler.cs b/src/Eto.Android/Forms/Controls/WebViewHandler.cs
index fdab40eb90..d7b6571e97 100644
--- a/src/Eto.Android/Forms/Controls/WebViewHandler.cs
+++ b/src/Eto.Android/Forms/Controls/WebViewHandler.cs
@@ -1,9 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using Eto.Forms;
-
using aa = Android.App;
using ac = Android.Content;
using ao = Android.OS;
diff --git a/src/Eto.Android/Forms/DialogHandler.cs b/src/Eto.Android/Forms/DialogHandler.cs
index 56562a6020..955b24c95d 100644
--- a/src/Eto.Android/Forms/DialogHandler.cs
+++ b/src/Eto.Android/Forms/DialogHandler.cs
@@ -1,14 +1,8 @@
-using System;
-using Eto.Forms;
-using Eto.Drawing;
using a = Android;
using av = Android.Views;
using aw = Android.Widget;
using aa = Android.App;
-using System.Threading.Tasks;
using Android.Content;
-using System.Linq;
-
namespace Eto.Android.Forms
{
///
diff --git a/src/Eto.Android/Forms/EtoEnvironmentHandler.cs b/src/Eto.Android/Forms/EtoEnvironmentHandler.cs
index aec86ce9d7..dfdd06163b 100644
--- a/src/Eto.Android/Forms/EtoEnvironmentHandler.cs
+++ b/src/Eto.Android/Forms/EtoEnvironmentHandler.cs
@@ -1,7 +1,3 @@
-using Eto.Drawing;
-using Eto.Forms;
-using System;
-
namespace Eto.Android.Forms
{
internal class EtoEnvironmentHandler : EtoEnvironment.IHandler
diff --git a/src/Eto.Android/Forms/FormHandler.cs b/src/Eto.Android/Forms/FormHandler.cs
index e4f82b386f..6acda192f2 100644
--- a/src/Eto.Android/Forms/FormHandler.cs
+++ b/src/Eto.Android/Forms/FormHandler.cs
@@ -1,7 +1,3 @@
-using System;
-using Eto.Forms;
-using Eto.Drawing;
-
namespace Eto.Android.Forms
{
///
diff --git a/src/Eto.Android/Forms/Menu/ButtonMenuItemHandler.cs b/src/Eto.Android/Forms/Menu/ButtonMenuItemHandler.cs
index 64318b638c..ff43b40476 100644
--- a/src/Eto.Android/Forms/Menu/ButtonMenuItemHandler.cs
+++ b/src/Eto.Android/Forms/Menu/ButtonMenuItemHandler.cs
@@ -1,7 +1,3 @@
-using System;
-using Eto.Forms;
-using Eto.Drawing;
-
using aa = Android.App;
using ac = Android.Content;
using ao = Android.OS;
diff --git a/src/Eto.Android/Forms/Menu/CheckMenuItemHandler.cs b/src/Eto.Android/Forms/Menu/CheckMenuItemHandler.cs
index b9e4795618..866c881974 100644
--- a/src/Eto.Android/Forms/Menu/CheckMenuItemHandler.cs
+++ b/src/Eto.Android/Forms/Menu/CheckMenuItemHandler.cs
@@ -1,7 +1,3 @@
-using System;
-using Eto.Forms;
-using Eto.Drawing;
-
using av = Android.Views;
namespace Eto.Android
diff --git a/src/Eto.Android/Forms/Menu/MenuItemHandler.cs b/src/Eto.Android/Forms/Menu/MenuItemHandler.cs
index 5c44e0b311..e4934dc583 100644
--- a/src/Eto.Android/Forms/Menu/MenuItemHandler.cs
+++ b/src/Eto.Android/Forms/Menu/MenuItemHandler.cs
@@ -1,6 +1,3 @@
-using System;
-using Eto.Forms;
-
using aa = Android.App;
using ac = Android.Content;
using ao = Android.OS;
diff --git a/src/Eto.Android/Forms/Menu/SeparatorMenuItemHandler.cs b/src/Eto.Android/Forms/Menu/SeparatorMenuItemHandler.cs
index 22b61c3b34..236e5d28c2 100644
--- a/src/Eto.Android/Forms/Menu/SeparatorMenuItemHandler.cs
+++ b/src/Eto.Android/Forms/Menu/SeparatorMenuItemHandler.cs
@@ -1,5 +1,3 @@
-using Eto.Forms;
-
using av = Android.Views;
namespace Eto.Android
diff --git a/src/Eto.Android/Forms/ScreenHandler.cs b/src/Eto.Android/Forms/ScreenHandler.cs
index 2ac70feb16..8d3d63eccd 100644
--- a/src/Eto.Android/Forms/ScreenHandler.cs
+++ b/src/Eto.Android/Forms/ScreenHandler.cs
@@ -1,7 +1,3 @@
-using System;
-using Eto.Drawing;
-using Eto.Forms;
-
namespace Eto.Android.Forms
{
internal class ScreenHandler : WidgetHandler