Last active
October 9, 2015 16:54
-
-
Save mattregul/fe557b784946a80a4e3e to your computer and use it in GitHub Desktop.
Revisions
-
mattregul revised this gist
Oct 9, 2015 . 1 changed file with 19 additions and 19 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,17 +3,17 @@ namespace FormsGallery { class ActivityIndicatorDemoPage : ContentPage { public ActivityIndicatorDemoPage() { Label header = new Label { Text = "ActivityIndicator", FontSize = 40, FontAttributes = FontAttributes.Bold, HorizontalOptions = LayoutOptions.Center }; ActivityIndicator activityIndicator01 = new ActivityIndicator { @@ -49,19 +49,19 @@ public ActivityIndicatorDemoPage() }; // Build the page. this.Content = new StackLayout { Children = { header, activityIndicator01, activityIndicator02, activityIndicator03, activityIndicator04, activityIndicator05 } }; } } } -
mattregul created this gist
Oct 9, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,67 @@ using System; using Xamarin.Forms; namespace FormsGallery { class ActivityIndicatorDemoPage : ContentPage { public ActivityIndicatorDemoPage() { Label header = new Label { Text = "ActivityIndicator", FontSize = 40, FontAttributes = FontAttributes.Bold, HorizontalOptions = LayoutOptions.Center }; ActivityIndicator activityIndicator01 = new ActivityIndicator { Color = Device.OnPlatform(Color.Black, Color.Default, Color.Default), IsRunning = true, VerticalOptions = LayoutOptions.CenterAndExpand }; ActivityIndicator activityIndicator02 = new ActivityIndicator { Color = Color.Red, IsRunning = true, VerticalOptions = LayoutOptions.CenterAndExpand }; ActivityIndicator activityIndicator03 = new ActivityIndicator { Color = Color.Blue, IsRunning = true, VerticalOptions = LayoutOptions.CenterAndExpand }; ActivityIndicator activityIndicator04 = new ActivityIndicator { Color = Color.Green, IsRunning = true, VerticalOptions = LayoutOptions.CenterAndExpand }; ActivityIndicator activityIndicator05 = new ActivityIndicator { Color = Color.Purple, IsRunning = true, VerticalOptions = LayoutOptions.CenterAndExpand }; // Build the page. this.Content = new StackLayout { Children = { header, activityIndicator01, activityIndicator02, activityIndicator03, activityIndicator04, activityIndicator05 } }; } } }