I just inherited some android code, and one of the first errors I came across was the weird EditText problem, which when I type the letters "a" and "e" in series, EditText automatically merges them into the character "æ", Full declaration xml below:
<EditText android:id="@+id/editFirstname" android:layout_width="fill_parent" android:layout_height="wrap_content" android:background="@drawable/profile_edittext_selector" android:ems="10" android:inputType="textCapSentences" android:paddingBottom="6dp" android:paddingLeft="15dp" android:paddingRight="5dp" android:paddingTop="5dp" android:textColor="#666666" android:textColorHint="#666666" android:textSize="12sp" > </EditText>
I searched for the corresponding Activity and Fragment using xml, but I did not find anything to blame - there is no TextWatcher and no procedure trying to change the input or charsequence inside the EditText. The input language is "Use by default" (set to "English-US").
It is strange that the same error is indicated in the version of the iOS application (different developers, there is also no hint as to why this is happening).
Has anyone come across this before?
edit: declared declaration, upon request:
<?xml version="1.0" encoding="utf-8"?> <selector xmlns:android="http://schemas.android.com/apk/res/android">\ <item android:drawable="@drawable/bgd_form_selected" android:state_pressed="true"/> <item android:drawable="@drawable/bgd_form_selected" android:state_focused="true"/> <item android:drawable="@drawable/bgd_form"/> </selector>
edit2:
Additional Information: - Occurs on all test devices: gs2, gs3, xperia z, nexus 4, ace of galaxy
as above: same error registered on iOS
: the server receives the correct input when sending values (for example, "ae" will not be converted) (this will probably narrow it down to a display problem)
source share