public Toolbar(bool isTemplateFolder)
        {
            this.isTemplateFolder = isTemplateFolder;

            BackgroundColor = Colors.CartoNavy;

            ExpandButton = new ExpandButton();

            Tabs           = new FileTabs();
            Tabs.IsVisible = false;

            double padding = 5;

            SaveButton              = new ToolbarButton();
            SaveButton.Source       = "icon_save.png";
            SaveButton.ImagePadding = padding;

            EmailButton              = new ToolbarButton();
            EmailButton.Source       = "icon_email.png";
            EmailButton.ImagePadding = padding;

            UploadButton              = new ToolbarButton();
            UploadButton.Source       = "icon_upload.png";
            UploadButton.ImagePadding = padding;

            Overlay = new BaseView();
            Overlay.BackgroundColor = Colors.CartoNavyTransparent;
            HideOverlay(false);
        }
        /*
         * The default visible view is Expand button,
         * if there are MaxCount or fewer tabs, show all of them via FileTabs
         *
         */
        public void Initialize(ZipData data)
        {
            if (data.StyleFileNames.Count <= MaxCount)
            {
                Tabs.IsVisible = true;
                Tabs.Update(data);
                ExpandButton.IsVisible = false;
            }
            else
            {
                ExpandButton.Update(data.StyleFileNames[0]);
            }

            LayoutSubviews();
        }