summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Android/Platform.cs
diff options
context:
space:
mode:
authorChris King <kingces95@gmail.com>2016-03-25 13:53:19 -0700
committerChris King <kingces95@gmail.com>2016-03-25 13:53:19 -0700
commitb3365b7f7db2ab9505d9f0c704f86dd3b24b0caa (patch)
tree3e9c78ed3397f34d54daed530da2a7669c7f63b4 /Xamarin.Forms.Platform.Android/Platform.cs
parent03c84382c7bfa6d8712e07dfa48e569f9a9b66a7 (diff)
downloadxamarin-forms-b3365b7f7db2ab9505d9f0c704f86dd3b24b0caa.tar.gz
xamarin-forms-b3365b7f7db2ab9505d9f0c704f86dd3b24b0caa.tar.bz2
xamarin-forms-b3365b7f7db2ab9505d9f0c704f86dd3b24b0caa.zip
Reformat using statements
Diffstat (limited to 'Xamarin.Forms.Platform.Android/Platform.cs')
-rw-r--r--Xamarin.Forms.Platform.Android/Platform.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Xamarin.Forms.Platform.Android/Platform.cs b/Xamarin.Forms.Platform.Android/Platform.cs
index 1de13b41..baf7fa44 100644
--- a/Xamarin.Forms.Platform.Android/Platform.cs
+++ b/Xamarin.Forms.Platform.Android/Platform.cs
@@ -463,7 +463,7 @@ namespace Xamarin.Forms.Platform.Android
else if (CurrentNavigationPage.BarBackgroundColor != Color.Default)
colorToUse = CurrentNavigationPage.BarBackgroundColor;
}
- using(Drawable drawable = colorToUse == Color.Default ? GetActionBarBackgroundDrawable() : new ColorDrawable(colorToUse.ToAndroid()))
+ using (Drawable drawable = colorToUse == Color.Default ? GetActionBarBackgroundDrawable() : new ColorDrawable(colorToUse.ToAndroid()))
((Activity)_context).ActionBar.SetBackgroundDrawable(drawable);
}
@@ -663,7 +663,7 @@ namespace Xamarin.Forms.Platform.Android
{
int[] backgroundDataArray = { global::Android.Resource.Attribute.Background };
- using(var outVal = new TypedValue())
+ using (var outVal = new TypedValue())
{
_context.Theme.ResolveAttribute(global::Android.Resource.Attribute.ActionBarStyle, outVal, true);
TypedArray actionBarStyle = _context.Theme.ObtainStyledAttributes(outVal.ResourceId, backgroundDataArray);