I got a ListView, populated using BaseAdapter
.
In the listview Item there's a numeric EditText:
...
<EditText
android:id="@+id/edit_quantita"
android:layout_width="50dp"
android:layout_height="30dp"
android:layout_gravity="center"
android:layout_marginTop="5dp"
android:background="@drawable/edit_quantita"
android:gravity="center_vertical|center_horizontal"
android:inputType="number"
android:text="1"
android:textColor="#fff"
tools:ignore="HardcodedText" >
</EditText>
...
When I tap on this EditText the numerical keyboard prompts for an instant, and then it's suddenly overlayed by a regular character keyboard. If I try to write something on this keyboard no text is shown anywhere. Curiously, if I tap again on the Editext it behaves as it should, showing only the working numerical keyboard.
What can i do?