コード例 #1
0
        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);
        }
コード例 #2
0
        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;
        }
コード例 #3
0
        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;
        }
コード例 #4
0
        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);
        }