Sharpnado.Shadows
1.2.0
Add as many custom shadows as you like to any Xamarin.Forms view (Android, iOS, UWP, Tizen).
* You can specify each shadow Color, Opacity, Blur, and Offset
* You can add one shadow, 3 shadows, 99 shadows, to any Xamarin.Forms element
* Implement easily Neumorphism
* Animate any of these property and make the shadows dance around your elements
* The only dependency is `Xamarin.Forms`, no `AndroidX`, no `SkiaSharp` (except Tizen) needed!
Performance: Implemented with custom draw on Android, CALayer on iOS, SpriteVisual on UWP, SkiaSharp on Tizen.
Mandatory initialization on iOS:
Xamarin.Forms.Forms.Init();
Sharpnado.Shades.iOS.iOSShadowsRenderer.Initialize();
Mandatory initialization on UWP:
var rendererAssemblies = new[] { typeof(UWPShadowsRenderer).GetTypeInfo().Assembly };
Xamarin.Forms.Forms.Init(e, rendererAssemblies);
Mandatory initialization on Tizen:
Xamarin.Forms.Forms.Init();
Sharpnado.Shades.Tizen.TizenShadowsRenderer.Initialize();
Install-Package Sharpnado.Shadows -Version 1.2.0
dotnet add package Sharpnado.Shadows --version 1.2.0
<PackageReference Include="Sharpnado.Shadows" Version="1.2.0" />
paket add Sharpnado.Shadows --version 1.2.0
Release Notes
Add caching to Android bitmaps.
Dependencies
-
.NETStandard 2.0
- ThomasLevesque.WeakEvent (>= 4.1.0)
- Xamarin.Forms (>= 3.6.0.220655)
-
MonoAndroid 1.0
- ThomasLevesque.WeakEvent (>= 4.1.0)
- Xamarin.Forms (>= 3.6.0.220655)
-
Tizen 4.0
- SkiaSharp.Views (>= 1.68.3)
- ThomasLevesque.WeakEvent (>= 4.1.0)
- Tizen.NET (>= 4.0.0)
- Xamarin.Forms (>= 3.6.0.220655)
-
UAP 10.0.16299
- Microsoft.UI.Xaml (>= 2.1.190606001)
- ThomasLevesque.WeakEvent (>= 4.1.0)
- Xamarin.Forms (>= 3.6.0.220655)
-
Xamarin.iOS 1.0
- ThomasLevesque.WeakEvent (>= 4.1.0)
- Xamarin.Forms (>= 3.6.0.220655)
Used By
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Sharpnado.Shadows:
Package | Downloads |
---|---|
Sharpnado.Presentation.Forms
Collection of Xamarin.Forms components.
IMPORTANT: On platform projects, call SharpnadoInitializer.Initialize() after Xamarin.Forms.Forms.Init() and before LoadApplication(new App()).
Pure Xamarin.Forms tabs:
* Fixed tabs (android tabs style)
* Scrollable tabs
* Segmented tabs
* Custom shadows (neumorphism ready)
* Circle button in tab bar
* Bottom bar tabs (ios tabs style)
* Custom tabs (be creative just implement TabItem)
* Independent ViewSwitcher
Sharpnado.Shadows:
* Add as many custom shadows as you like to any view (Android, iOS, UWP)
* You can specify each shadow Color, Opacity, BlurRadius, and Offset
* Simply implement Neumorphism
* You can add one shadow, 3 shadows, 99 shadows, to any Xamarin.Forms element
* Animate any of these property and make the shadows dance around your elements
MaterialFrame:
* AcrylicBlur mode
* 3 Blur styles: Light, ExtraLight, Dark (UIVisualEffectView styles)
* Acrylic mode
* Dark mode
* Light mode
* Change modes dynamically
* Performance (CALayer on ios, LayerDrawable on android)
* Android: RealtimeBlurView from Tu Yimin (mmin18)
The TaskLoaderView 2.0 handles all your task loading states:
* Handles error with custom messages and icons
* Handles empty states
* Show snackbar errors for refresh scenarios (if data is already shown)
* Handles retry with button
* Support Xamarin.Forms.Skeleton
* Can override any state views with your own custom ones
HorizontalListView for Xamarin.Forms (close to a CollectionView):
* Carousel layout
* Column count
* Snapping on first or middle element
* Padding and item spacing
* Handles NotifyCollectionChangedAction Add Remove and Reset actions
* View recycling
* RecyclerView on Android
* UICollectionView on iOS
Grid ListView (HorizontalListView with ListLayout set to Grid):
* Column count
* Drag And Drop
* RefreshView support
* Padding and item spacing
* Handles NotifyCollectionChangedAction Add Remove and Reset actions
* View recycling
|
|
Sharpnado.Tabs
Pure Xamarin.Forms tabs:
* Fixed tabs (android tabs style)
* Scrollable tabs
* Segmented tabs
* Custom shadows (neumorphism ready)
* Badges on tabs
* Circle button in tab bar
* Bottom bar tabs (ios tabs style)
* Custom tabs (be creative just implement TabItem)
* Independent ViewSwitcher
* Bindable with ItemsSource
--------------
Installation
--------------
* In Core project, in `App.xaml.cs`:
public App()
{
InitializeComponent();
Sharpnado.Tabs.Initializer.Initialize(loggerEnable: false);
...
}
* In iOS project:
Xamarin.Forms.Forms.Init();
Sharpnado.Tabs.iOS.Preserver.Preserve();
* In UWP project:
var rendererAssemblies = new[]
{
typeof(UWPShadowsRenderer).GetTypeInfo().Assembly,
typeof(UwpTintableImageEffect).GetTypeInfo().Assembly,
};
Xamarin.Forms.Forms.Init(e, rendererAssemblies);
|
|
Charpnado.Presentation.Forms
Collection of Xamarin.Forms components.
IMPORTANT: On platform projects, call SharpnadoInitializer.Initialize() after Xamarin.Forms.Forms.Init() and before LoadApplication(new App()).
Pure Xamarin.Forms tabs:
* Fixed tabs (android tabs style)
* Scrollable tabs
* Segmented tabs
* Custom shadows (neumorphism ready)
* Circle button in tab bar
* Bottom bar tabs (ios tabs style)
* Custom tabs (be creative just implement TabItem)
* Independent ViewSwitcher
Sharpnado.Shadows:
* Add as many custom shadows as you like to any view (Android, iOS, UWP)
* You can specify each shadow Color, Opacity, BlurRadius, and Offset
* Simply implement Neumorphism
* You can add one shadow, 3 shadows, 99 shadows, to any Xamarin.Forms element
* Animate any of these property and make the shadows dance around your elements
MaterialFrame:
* AcrylicBlur mode
* 3 Blur styles: Light, ExtraLight, Dark (UIVisualEffectView styles)
* Acrylic mode
* Dark mode
* Light mode
* Change modes dynamically
* Performance (CALayer on ios, LayerDrawable on android)
* Android: RealtimeBlurView from Tu Yimin (mmin18)
The TaskLoaderView 2.0 handles all your task loading states:
* Handles error with custom messages and icons
* Handles empty states
* Show snackbar errors for refresh scenarios (if data is already shown)
* Handles retry with button
* Support Xamarin.Forms.Skeleton
* Can override any state views with your own custom ones
HorizontalListView for Xamarin.Forms (close to a CollectionView):
* Carousel layout
* Column count
* Snapping on first or middle element
* Padding and item spacing
* Handles NotifyCollectionChangedAction Add Remove and Reset actions
* View recycling
* RecyclerView on Android
* UICollectionView on iOS
Grid ListView (HorizontalListView with ListLayout set to Grid):
* Column count
* Drag And Drop
* RefreshView support
* Padding and item spacing
* Handles NotifyCollectionChangedAction Add Remove and Reset actions
* View recycling
|
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on Sharpnado.Shadows:
Repository | Stars |
---|---|
roubachof/Xamarin-Forms-Practices
Collection of good practices for Xamarin forms developement
|