I'm trying to disable predictive text for a given EditText
, as explained here, but I still get the autocomplete by the prediction...
I've got a Samsung Galaxy S with XT9 enabled.
Anybody can help?
<EditText
android:id="@+id/search_field"
android:layout_width="300dp"
android:layout_height="27dp"
android:background="@drawable/bg_searchfield"
android:hint="@string/search_hint"
android:imeOptions="actionSearch"
android:inputType="text|textNoSuggestions|textFilter"/>
The only solution that worked for me to see the right font on hint and on text using the Calligraphy library is:
EditText
in your xml with
android:inputType="textNoSuggestions|textVisiblePassword"
EditText
programmatically with:
passwordET.transformationMethod = PasswordTransformationMethod()
This will:
TextInputLayout
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With