Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/cemozguraA/Xamarin.RisePlugin.Floatingactionbutton
- Owner: cemozguraA
- License: mit
- Created: 2020-06-18T00:26:47.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-11-21T17:52:04.000Z (about 2 years ago)
- Last Synced: 2024-11-08T10:28:41.426Z (about 1 month ago)
- Language: C#
- Size: 6.7 MB
- Stars: 25
- Watchers: 2
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-xamarin-forms - Xamarin.RisePlugin.Floatingactionbutton ★24 - elements and use it in 5 different ways. (UI)
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 |