We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to resolve the issue with decimal point and minus key on Samsung devices in SfNumericTextBox

Platform: Xamarin.Forms |
Control: SfNumericTextBox |
Published Date: May 14, 2019 |
Last Revised Date: May 15, 2019

When using virtual numeric keyboard in SfNumericTextBox, decimal point and minus sign will be missing in some of the Samsung devices.

To resolve this issue, follow the below steps:

  1. Create a custom SfNumericTextBox by inheriting the SfNumericTextBox class.
  2. Similarly, create a CustomNumericTextBoxRenderer class by inheriting SfNumericTextBoxRenderer.


Code for custom renderer in Android:

[assembly: ExportRenderer(typeof(CustomNumeric), typeof(CustomNumericTextBoxRenderer))]
namespace Samsung_issue.Droid
 public class CustomNumericTextBoxRenderer : SfNumericTextBoxRenderer
  protected override void OnElementChanged(ElementChangedEventArgs<SfNumericTextBox> e)
   if (Control != null)
    EditText control = this.Control as EditText;
    if (control != null)
     control.InputType = Android.Text.InputTypes.ClassPhone;



Image represent the decimal point and minus key missing issue on Samsung devices in SfNumericTextBox.


2X faster development

The ultimate Xamarin UI toolkit to boost your development speed.
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile