public override BottomSheetConfig GetBottomSheetConfig()
 {
     var bottomSheetFragment = new SimpleBottomSheetFragment ();
     bottomSheetFragment.Title = page.Title;
     bottomSheetFragment.Description = page.Text;
     var bottomSheetConfig = new BottomSheetConfig
     {
         DisplayBottomSheet = true,
         BottomSheetFragment = bottomSheetFragment
     };
     return bottomSheetConfig;
 }
Пример #2
0
        public override BottomSheetConfig GetBottomSheetConfig()
        {
            var bsFragment = new SimpleBottomSheetFragment();

            //        bsFragment.setTitle("SimpleBottomSheetFragment #" + count);
            bsFragment.Title       = "Außenansicht";
            bsFragment.Description =
                "Beschreibung zur Außenansicht (ist eigentlich der Abdinghof...). \n\n" +
                "(c) XYZ   \n\nyou cannot use getString(id) here because the fragment is not " +
                "yet attached to an Activity!...";
            var bottomSheetConfig = new BottomSheetConfig
            {
                BottomSheetFragment = bsFragment
            };

            return(bottomSheetConfig);
        }
Пример #3
0
        public override BottomSheetConfig GetBottomSheetConfig()
        {
            var bsFragment = new SimpleBottomSheetFragment();

            bsFragment.Title = AppetizerTitle;
            if (page != null)
            {
                bsFragment.Description = page.Text;
            }

            var bottomSheetConfig = new BottomSheetConfig
            {
                MaxHeight           = BOTTOM_SHEET_HEIGHT,
                PeekHeight          = BOTTOM_SHEET_HEIGHT,
                fabAction           = BottomSheetConfig.FabAction.Next,
                BottomSheetFragment = bsFragment
            };

            return(bottomSheetConfig);
        }