Simply install the NuGet package into your Xamarin.Android application and use as below.
This library now supports AndroidX libraries rather than v7 support libraries so it may ask you to install these dependencies in order to carry on using this control.
Package Manager:
Install-Package Xama.JTPorts.ShowcaseView -Version 1.0.1
.NET CLI:
dotnet add package Xama.JTPorts.ShowcaseView --version 1.0.1
Xamarin.Android Native showcase view. An easy-to-use customizable show case view with circular reveal animation, ported from FancyShowCaseView by Faruk ToptaΕ
This is a ported build, converted from Java to C# for use with the Xamarin MonoFramework. There are only a couple of new additions from the original library currently.
- Circular reveal animation (API Level 21+).
- Custom Background colors with opaque variances.
- Circle and Rounded Rectangle focus shapes.
- Custom title styles and position.
- Custom view inflation.
- Custom enter/exit animations.
- Chaining multiple Showcase view instances.
- Showing only one time.
- Auto move-on for showcase queues.
- Auto dismiss for showcases.
ShowCaseView showcase = new ShowCaseView.Builder()
.Context(this)
.CloseOnTouch(true)
.FocusOn(ControlToFocusOn)
.BackgroundColor(Color.DarkRed)
.FocusBorderColor(Color.White)
.FocusBorderSize(15)
.Title("Showcase text")
.FocusCircleRadiusFactor(1.5)
.Build();
showcase.Show();
More than happy for people to raise issues, or submit pull requests on adjustments, optimisations or improvements to the existing port. It's been migrated over to AndroidX support libraries so there's room to improve the ways the UI animations are created potentially.
If you want to support the work that I do and you find any of these libraries useful? Consider supporting it by joining stargazers for this repository. π π
or alternatively if you want to you can also buy me a coffee.
You know, only if you want to.