public override View GetSampleContent(Android.Content.Context con) { if (IsTabletDevice(con)) { GettingStarted_Tab tab = new GettingStarted_Tab(); return(tab.GetSampleContent(con)); } else { mobile = new GettingStarted_Mobile(); return(mobile.GetSampleContent(con)); } }
public override View GetSampleContent(Context con) { SamplePageContent(con); /*************** **RangeSlider** ***************/ range = new SfRangeSlider(con); range.Minimum = 0; range.Maximum = 100; range.Value = 100; range.ShowRange = false; range.SnapsTo = SnapsTo.None; range.Orientation = Com.Syncfusion.Sfrangeslider.Orientation.Horizontal; range.TickPlacement = TickPlacement.BottomRight; range.ShowValueLabel = true; range.TickFrequency = 20; range.ValuePlacement = ValuePlacement.BottomRight; range.LayoutParameters = (new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MatchParent, GettingStarted_Mobile.getDimensionPixelSize(con, Resource.Dimension.range_ht))); range.ValueChanged += ValueChanged; range.SetY(-30); //Frame Layout FrameLayout frame = new FrameLayout(con); frame.SetBackgroundColor(Color.White); frame.LayoutParameters = (new FrameLayout.LayoutParams(ViewGroup.LayoutParams.MatchParent, ViewGroup.LayoutParams.MatchParent, GravityFlags.Center)); frame.AddView(GetView(con)); return(frame); }