diff options
Diffstat (limited to 'Xamarin.Forms.Platform.Android/ViewExtensions.cs')
-rw-r--r-- | Xamarin.Forms.Platform.Android/ViewExtensions.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Xamarin.Forms.Platform.Android/ViewExtensions.cs b/Xamarin.Forms.Platform.Android/ViewExtensions.cs index 04a80ef2..12faa1ed 100644 --- a/Xamarin.Forms.Platform.Android/ViewExtensions.cs +++ b/Xamarin.Forms.Platform.Android/ViewExtensions.cs @@ -38,7 +38,7 @@ namespace Xamarin.Forms.Platform.Android public static void SetWindowBackground(this AView view) { Context context = view.Context; - using(var background = new TypedValue()) + using (var background = new TypedValue()) { if (context.Theme.ResolveAttribute(global::Android.Resource.Attribute.WindowBackground, background, true)) { @@ -50,7 +50,7 @@ namespace Xamarin.Forms.Platform.Android view.SetBackgroundColor(color); break; case "drawable": - using(Drawable drawable = context.Resources.GetDrawable(background.ResourceId)) + using (Drawable drawable = context.Resources.GetDrawable(background.ResourceId)) view.SetBackgroundDrawable(drawable); break; } |