I am trying to show the android keyboard which shows only numbers and a decimal point it works fine in devices like Lenovo but it doesn't works in devices like Samsung. But when i installed an app the keyboard works same in both the above mentioned devices.
I would like to know whether it is a custom keyboard or not.Even i have tried adding the code for the keyboard:
<EditText android:inputType="numberDecimal|number" android:digits="0123456789." />
input.setInputType(InputType.TYPE_CLASS_NUMBER); //OR input.setInputType(InputType.TYPE_NUMBER_FLAG_DECIMAL);
This may helps you.