Skip to content

Commit b448f45

Browse files
author
Rawoof
committed
Image size reduced.
1 parent 4c9bf57 commit b448f45

File tree

19 files changed

+84
-0
lines changed

19 files changed

+84
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
using Xamarin.Forms;
2+
using Xamarin.Forms.Platform.Android;
3+
4+
[assembly: ResolutionGroupName("EssentialUIKit")]
5+
[assembly: ExportEffect(typeof(EssentialUIKit.Droid.Effects.BorderlessEffect), nameof(EssentialUIKit.Droid.Effects.BorderlessEffect))]
6+
namespace EssentialUIKit.Droid.Effects
7+
{
8+
public class BorderlessEffect : PlatformEffect
9+
{
10+
protected override void OnAttached()
11+
{
12+
if (this.Control != null)
13+
{
14+
this.Control.SetBackground(null);
15+
this.Control.SetPadding(0, 0, 0, 0);
16+
}
17+
}
18+
19+
protected override void OnDetached()
20+
{
21+
}
22+
}
23+
}
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading

0 commit comments

Comments
 (0)