README.md

October 21, 2021 ยท View on GitHub

Floatingactionbutton

Description

  • A button that will work on 'Rootview' you dont need set to any page. If you want, you can add sub-elements and use it in 5 different ways

NugetPackage

https://www.nuget.org/packages/Xamarin.RisePlugin.Floatingactionbutton

  • Step1

Add the following NuGet package to your solution.

  • Step2 (IOS)

You must add this line to your AppDelegate.cs before you use Floatingactionbutton

Xamarin.RisePlugin.IOS.Floatingactionbutton.COAFloatingactionbutton.Init();
  • Step2 (ANDROID)

You must add this code to your MainActivity.cs before you use Floatingactionbutton

public override void SetContentView(Android.Views.View view)
       {
           Xamarin.RisePlugin.Droid.Floatingactionbutton.RootView.View = (Android.Widget.RelativeLayout)view;
           base.SetContentView(view);
       }
Supports
Xamarin 4.8>=
Android Latest Version
IOS Latest Version
Platforms
IOS
Android

Properties

PropertyWhat it does
OpenAdding 'Mainbutton' to the rootview.
CloseDeletes 'Mainbutton' to the rootview.
CircleAngleSet the distance between the circle.
SubViewSpacingSet spacing between subviews
ActionOrientationMainButton position (left, center, right)
OpeningTypeSubviews opening type (Circle, VerticalTop, VerticalBottom, HorizontalLeft, HorizontalRight)
MainButtonViewSet Mainbutton(Use ActionButtonView)
IsSubShowingCheck SubViews
IsShowingCheck Floatingactionbutton
SubViewsList of subview
ShowSubViewWith animation
HideSubViewWith animation
ClickClick Event
LongClickLong Click Evet