Android Question SoftKeyboard for percentage input

Discussion in 'Android Questions' started by advansis, Feb 20, 2019.

  1. advansis

    advansis Member Licensed User

    Hi guys, I need to input a decimal number, either as a flat one (i.e. 123.45) and as a percentage one (i.e. 12.25%). Is there a numeric keyboard feature (inputtype/IME SetCustomFilter) to achieve it ? I cannot find a way to show the percentage key, but using INPUT_TYPE_TEXT, but it's awful. I use a standard EditText and would prefer not to implement any custom keyboard. Thanks in advance
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Have you tried INPUT_TYPE_DECIMAL_NUMBERS ?
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice