Пример #1
0
        public override void OnCreate(Bundle savedInstanceState)
        {
            base.OnCreate(savedInstanceState);

            activity = (MenuDrawerActivity)Activity;
            //HasOptionsMenu = true;
            // Create your fragment here
            //RetainInstance = true;
            //activity.SupportInvalidateOptionsMenu();
        }
Пример #2
0
        public override void OnCreate(Bundle savedInstanceState)
        {
            base.OnCreate(savedInstanceState);
            activity = (MenuDrawerActivity)Activity;
            activity.toolbar.Elevation = 0;
            pagina         = 0;
            HasOptionsMenu = true;
            RetainInstance = true;

            // Create your fragment here
        }