Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cemozguraA/Xamarin.RisePlugin.Floatingactionbutton

Xamarin Forms Floatingactionbutton
https://github.com/cemozguraA/Xamarin.RisePlugin.Floatingactionbutton

Last synced: 29 days ago
JSON representation

Xamarin Forms Floatingactionbutton

Awesome Lists containing this project

README

        

### 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

![](https://github.com/cemozguraA/Xamarin.RisePlugin.Floatingactionbutton/blob/master/Images/CircleDroidGroup.gif?raw=true)
![](https://github.com/cemozguraA/Xamarin.RisePlugin.Floatingactionbutton/blob/master/Images/CircleIOSGroup.gif?raw=true)
![](https://github.com/cemozguraA/Xamarin.RisePlugin.Floatingactionbutton/blob/master/Images/VerticalHorizDroid.gif?raw=true)
![](https://github.com/cemozguraA/Xamarin.RisePlugin.Floatingactionbutton/blob/master/Images/VerticalHorizIOS.gif?raw=true)

### NugetPackage
[https://www.nuget.org/packages/Xamarin.RisePlugin.Floatingactionbutton](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
```csharp
Xamarin.RisePlugin.IOS.Floatingactionbutton.COAFloatingactionbutton.Init();
```
- **Step2 (ANDROID)**

You must add this code to your MainActivity.cs before you use Floatingactionbutton
```csharp
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
| Property | What it does |
| ------------- | ------------|
| Open | Adding 'Mainbutton' to the rootview. |
| Close | Deletes 'Mainbutton' to the rootview. |
| CircleAngle | Set the distance between the circle. |
| SubViewSpacing | Set spacing between subviews |
| ActionOrientation | MainButton position (left, center, right)|
| OpeningType | Subviews opening type (Circle, VerticalTop, VerticalBottom, HorizontalLeft, HorizontalRight)|
| MainButtonView | Set Mainbutton(Use ActionButtonView)|
| IsSubShowing | Check SubViews|
| IsShowing | Check Floatingactionbutton|
| SubViews | List of subview |
| ShowSubView | With animation |
| HideSubView | With animation |
| Click | Click Event |
| LongClick | Long Click Evet |