public override View OnCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { transitions.Add(new SlideInOnTopTransition()); transitions.Add(new FallDownTransition()); transitions.Add(new OpenDoorTransition()); transitions.Add(new PushTransition()); transitions.Add(new RevealTransition()); transitions.Add(new ReverseSlideOutTransition()); transitions.Add(new RotateInTransition()); transitions.Add(new ScaleDownPusherTransition()); transitions.Add(new ScaleUpTransition()); transitions.Add(new SlideAlongTransition()); transitions.Add(new EmptyTransition()); ViewGroup rootView = (ViewGroup)inflater.Inflate(Resource.Layout.fragment_side_drawer_features, null); drawer = new RadSideDrawer(Activity); drawer.MainContent = this.LoadMainContent(inflater); drawer.DrawerContent = this.LoadDrawerContent(inflater); drawer.AddChangeListener(this); rootView.AddView(drawer); return(rootView); }
public override View OnCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { transitions.Add (new SlideInOnTopTransition ()); transitions.Add (new FallDownTransition()); transitions.Add (new OpenDoorTransition()); transitions.Add (new PushTransition()); transitions.Add (new RevealTransition()); transitions.Add (new ReverseSlideOutTransition()); transitions.Add (new RotateInTransition()); transitions.Add (new ScaleDownPusherTransition()); transitions.Add (new ScaleUpTransition()); transitions.Add (new SlideAlongTransition()); transitions.Add (new EmptyTransition()); ViewGroup rootView = (ViewGroup)inflater.Inflate(Resource.Layout.fragment_side_drawer_features, null); drawer = new RadSideDrawer (Activity); drawer.MainContent = this.LoadMainContent(inflater); drawer.DrawerContent = this.LoadDrawerContent(inflater); drawer.AddChangeListener (this); rootView.AddView (drawer); return rootView; }
public override View OnCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { ViewGroup rootView = (ViewGroup)inflater.Inflate(Resource.Layout.fragment_side_drawer_features, null); drawer = (RadSideDrawer)rootView.FindViewById(Resource.Id.sideDrawer); drawer.MainContent = this.LoadMainContent(inflater); drawer.DrawerContent = this.LoadDrawerContent(inflater); drawer.AddChangeListener (this); return rootView; }
public override View OnCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { ViewGroup rootView = (ViewGroup)inflater.Inflate(Resource.Layout.fragment_side_drawer_features, null); drawer = (RadSideDrawer)rootView.FindViewById(Resource.Id.sideDrawer); drawer.MainContent = this.LoadMainContent(inflater); drawer.DrawerContent = this.LoadDrawerContent(inflater); drawer.AddChangeListener(this); return(rootView); }