I have a EditText in which I want to display currency:
input.setInputType(InputType.TYPE_CLASS_NUMBER); input.addTextChangedListener(new CurrencyText
Try add this property in you xml declaration for you edit text:
android:inputType="numberDecimal" or number or signed number
android:inputType="numberDecimal"
See more info about android:inputType here.
android:inputType