1 rating
  • 1
  • 2
  • 3
  • 4
  • 5
5 star 1
4 star 0
3 star 0
2 star 0
1 star 0
Compatible with
  • Android

ShowcaseView 1.1

Cayas Software

Add an Android-like showcase view to your Xamarin.Android apps and help your user to getting started faster.

ShowcaseView

With ShowcaseView you can highlight gestures, buttons or anything you want within your app, that a new user won't recognize within the first usage. Help your users to get in touch with your app faster.

GitHub Project: https://github.com/CayasSoftware/ShowcaseView

Features

  • Actionbar-Support
  • Fragment-Support
  • Single Showcases
  • Multiple Showcases
  • Animations

How to use

using SharpShowcaseView;
using SharpShowcaseView.Targets;

protected override void OnCreate(Bundle savedInstanceState)
{
    base.OnCreate(savedInstanceState);
    SetContentView(Resource.Layout.Main);

    var target = new ViewTarget(Resource.Id.buttonBlocked, this);
    showcaseView = ShowcaseView.InsertShowcaseView(target, this, Resource.String.showcase_main_title, Resource.String.showcase_main_message);
    showcaseView.SetOnShowcaseEventListener(this);
}

Samples

Samples for implementing ShowcaseView can be found in the sample-folder.

License

Licensed under the Apache License, Version 2.0

Release notes

Version 1.1

  • Bugfix to use ShowcaseView on Actionbar items (Thanks to Sjoerd van Noort)
  • Added Actionbar items sample
Write a Review

5 reviews

Ahmad Rayeji

can we change background of caseview?!

Posted on: January 24 / Version: 1.1
dinesh

How to use this component in fragment?

It didn't show up in fragment.

Posted on: September 16, 2015 / Version: 1.1
Mahdi Zarei

How to Change Color of Title & Desc ?

Posted on: June 7, 2015 / Version: 1.1
Agustin Gimenez

The control does not work with preferences (PreferenceActivity + XXXPreference).

Posted on: September 9, 2014 / Version: 1.1
Sjoerd van Noort

The component does not work with actionbar items. I've downloaded source from github and found a bug in ActionbarViewWrapper.

Replace constuctor with this code to fix:

        if (!actionBarView.Class.Name.Contains("ActionBarView"))
        {
            String previousP = actionBarView.Class.Name;
            actionBarView = (View)actionBarView.Parent;
            String throwP = actionBarView.Class.Name;

            if (!actionBarView.Class.Name.Contains("ActionBarView"))
            {
                throw new Java.Lang.IllegalStateException("Cannot find ActionBarView for " + "Activity, instead found " + previousP + " and " + throwP);
            }
        }

        mActionBarView = (IViewParent)actionBarView;
        mActionBarViewClass = actionBarView.Class;
        mAbsActionBarViewClass = actionBarView.Class.Superclass;
Posted on: August 4, 2014 / Version: 1.0