public BaseMapsView()
        {
            BasemapButton = new PopupButton("icons/icon_basemap.png");
            AddButton(BasemapButton);
            StyleContent = new StylePopupContent();

            LanguageButton = new PopupButton("icons/icon_language.png");
            AddButton(LanguageButton);
            LanguageContent = new LanguagePopupContent();
        }
Beispiel #2
0
        public BaseMapsView(Context context) : base(context,
                                                    Resource.Drawable.icon_info_blue,
                                                    Resource.Drawable.icon_back_blue,
                                                    Resource.Drawable.icon_close,
                                                    Resource.Drawable.icon_info_white)
        {
            BasemapButton = new ActionButton(context, Resource.Drawable.icon_basemap);
            AddButton(BasemapButton);
            StyleContent = new StylePopupContent(context);

            LanguageButton = new ActionButton(context, Resource.Drawable.icon_language);
            AddButton(LanguageButton);
            LanguageContent = new LanguagePopupContent(context);

            Frame = new CGRect(0, 0, Metrics.WidthPixels, UsableHeight);
        }