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