Esempio n. 1
0
 public void AddOverlay(View onView, ShowCaseConfig config)
 {
     _showCase = new ShowCase();
     _showCase.SetTargetView(GetOrCreateRenderer(onView).NativeView);
     _showCase.InitConfig(config);
     _showCase.Show();
 }
Esempio n. 2
0
 public void AddOverlay(Xamarin.Forms.View onView, ShowCaseConfig config)
 {
     if (_views.Count == 0)
     {
         _config = config;
         FrameLayout frame = new FrameLayout(MainApplication.ActivityContext);
         frame.AddView(Focus(onView));
         var view = ((Activity)MainApplication.ActivityContext).LayoutInflater.Inflate(Resource.Layout.ShowcaseViewTitleLayout, frame);
         SetTextForView(view);
         _views.Add(view);
         _decoreView.AddView(view);
     }
 }
Esempio n. 3
0
 public void Show(View onView, ShowCaseConfig config)
 {
     OverlayService.AddOverlay(onView, config);
 }
Esempio n. 4
0
 public static void InitConfig(this ShowCase materialShowcase, ShowCaseConfig showCaseConfig)
 {
     materialShowcase.config = showCaseConfig;
 }