Hi
Radoslaw,
We have confirmed the reported issue is a bug (Text
disappear when setting CornerRadius greater than zero in the SfBorder in Android).
We will include the fix in our weekly NuGet which
is available on 12th November 2019. You can track the bug status from the below
link.
If you have any more specification/precise replication procedure
or a scenario to be tested, you can add it as a comment in the portal link
above. We appreciate your patience until then.
Regards,
Lakshmi R.
public class CustomButtonRenderer : SfBorderRenderer
{
public CustomButtonRenderer(Context context) : base(context)
{
}
protected override void OnElementChanged(ElementChangedEventArgs<Xamarin.Forms.View> e)
{
base.OnElementChanged(e);
if (Element != null && Element is SfButton)
{
SfButton button = Element as SfButton;
if (!button.HasShadow)
{
SetLayerType(LayerType.Hardware, new Paint());
}
}
}
}
|