public BusyIndicator()
 {
     if ((UIDevice.CurrentDevice).UserInterfaceIdiom == UIUserInterfaceIdiom.Pad)
     {
         this.AddSubview(new BusyIndicator_Tablet());
     }
     else
     {
         phoneView = new BusyIndicator_Mobile();
         this.AddSubview(phoneView);
     }
 }
Exemple #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));
     }
 }
Exemple #3
0
 public BusyIndicator()
 {
     phoneView = new BusyIndicator_Mobile();
     this.AddSubview(phoneView);
 }