Ejemplo n.º 1
0
        public StyleContainer()
        {
            styleList = new BaseScrollView();

            separator = new BaseView {
                BackgroundColor = Color.Black
            };

            RefreshButton           = new RefreshButton();
            RefreshButton.IsVisible = false;
        }
Ejemplo n.º 2
0
        public MapContainer()
        {
            mapView = new MapView(
#if __ANDROID__
                Forms.Context
#endif
                );

            mapView.MapEventListener = new MapListener(this);

            zoomLabel = new Label();
            zoomLabel.VerticalTextAlignment   = TextAlignment.Center;
            zoomLabel.HorizontalTextAlignment = TextAlignment.Center;
            zoomLabel.TextColor       = Color.White;
            zoomLabel.BackgroundColor = Colors.CartoNavyTransparent;
            zoomLabel.FontAttributes  = FontAttributes.Bold;
            zoomLabel.FontSize        = 12;
            zoomLabel.Text            = ZoomText;

            SourceLabel = new SourceLabel();

            RefreshButton = new RefreshButton();
        }