Skip to content
This repository has been archived by the owner on May 5, 2021. It is now read-only.

[Android] SignaturePad saves black signature image when set background to transparent #181

Open
JigarM opened this issue Jul 9, 2020 · 2 comments

Comments

@JigarM
Copy link

JigarM commented Jul 9, 2020

Description

I need the transparent background with black strocke colored signature. Seems like this is working fine with iOS. But Android have an issue with transparent background.
Help will be appreciated.

Code

var signaturePadView1 = new SignaturePadView(Context)
{
StrokeWidth = 8,
BackgroundColor = Android.Graphics.Color.Transparent,
StrokeColor = Android.Graphics.Color.Black
};

Expected Behavior

It should provide the transparent signature

Actual Behavior

It gave me the black background signature instead of transparent background

@xamarindev01
Copy link

Any update on this?

@imuller
Copy link

imuller commented Oct 22, 2020

@JigarM @xamarindev01 Fixed it by setting the StrokeColor and FillColor: #147

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants