예제 #1
0
        public override View OnCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
        {
            var view = inflater.Inflate(Resource.Layout.MapLayout, container, false);

            mapFragment = view.FindViewById <MapView>(Resource.Id.map);
            mapFragment.OnCreate(savedInstanceState);
            lastUpdateText = view.FindViewById <TextView>(Resource.Id.UpdateTimeText);
            SetupInfoPane(view);
            flashBar           = new FlashBarController(view);
            streetViewFragment = pane.FindViewById <StreetViewPanoramaView>(Resource.Id.streetViewPanorama);
            streetViewFragment.OnCreate(savedInstanceState);

            return(view);
        }
예제 #2
0
        public override View OnCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
        {
            var view = inflater.Inflate(Resource.Layout.MapLayout, container, false);
            mapFragment = view.FindViewById<MapView>(Resource.Id.map);
            mapFragment.OnCreate(savedInstanceState);
            lastUpdateText = view.FindViewById<TextView>(Resource.Id.UpdateTimeText);
            SetupInfoPane(view);
            flashBar = new FlashBarController(view);
            streetViewFragment = pane.FindViewById<StreetViewPanoramaView>(Resource.Id.streetViewPanorama);
            streetViewFragment.OnCreate(savedInstanceState);

            return view;
        }