public BusyIndicator()
 {
     if ((UIDevice.CurrentDevice).UserInterfaceIdiom == UIUserInterfaceIdiom.Pad)
     {
         this.AddSubview(new BusyIndicator_Tablet());
     }
     else
     {
         phoneView = new BusyIndicator_Mobile();
         this.AddSubview(phoneView);
     }
 }
Example #2
0
 public override View GetSampleContent(Android.Content.Context con)
 {
     if (IsTabletDevice(con))
     {
         tab = new BusyIndicator_Tab();
         return(tab.GetSampleContent(con));
     }
     else
     {
         mobile = new BusyIndicator_Mobile();
         return(mobile.GetSampleContent(con));
     }
 }
Example #3
0
 public BusyIndicator()
 {
     phoneView = new BusyIndicator_Mobile();
     this.AddSubview(phoneView);
 }