I am trying copy a password from Chrome Browser (in Android) into a EditText but it always copy the format, including two space at the end.
In XML file.
<EditText
android:id="@+id/signin_etPassword"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="textPassword"
android:layout_marginBottom="5dp"
android:padding="8dp"/>
My password is
RLqGQQa3
but when I call to getText() it return:
RLqGQQa3
with a space at start, and two at end.
These occur only when I copy the password from browser