I have an EditText. I use setOnEditorActionListener
to listen to each letter that a user types. But that does not seem to be working. I put a println statement in the function to see it it is reached, but it's never called. Here is the EditText. What is it missing?
<EditText
android:id="@+id/email"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginBottom="5dp"
android:drawableRight="@drawable/my_img"
android:hint="@string/email_hint"
android:imeActionId="@+id/login"
android:inputType="textNoSuggestions|textVisiblePassword"
android:maxLines="1"
android:singleLine="true"
android:textColor="#000000" />