Android: Numeric key register backspace pressed
问题 I have an EditText which only accepts numeric numbers defined like this: <EditText android:id="@+id/routeInit_price" android:layout_height="wrap_content" android:layout_width="120dp" android:layout_gravity="center_horizontal" android:lines="1" android:inputType="numberDecimal"/> I am validating if there is a valid input like below to enable/disable a button. However, I doesn't receive an event on the backspace/delete button pressed event. How can I fix that? Because when the EditText is empty