I used EditText as password input
<EditText
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:gravity="center"
android:inputType="textPassword|textNoSuggestions"
android:singleLine="true"
android:imeOptions="flagNoExtractUi"
android:textAlignment="gravity" />
With native soft keyboard auto-complete is disabled and every things work as expected. But when using custom keyboard such as Fleksy auto-complete is enabled and I am not able to disable it pragmatically. I tried with the following steps.
1) android:inputType="textVisiblePassword" with and without textNoSuggestions
2) Changed EditText to autocompletetextview and set adapter to null or empty array
3) autocompletetextview setthreshold(100).
But nothing worked and password still appears in auto-complete. So do you have any suggestions?