Disable autofilling in editor view
This commit is contained in:
@@ -113,6 +113,11 @@ public class EditorView extends EditTextCompat {
|
||||
editor.setSelection(start);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getAutofillType() {
|
||||
return AUTOFILL_TYPE_NONE;
|
||||
}
|
||||
|
||||
private class MyTextWatcher implements TextWatcher {
|
||||
@Override
|
||||
public void beforeTextChanged(CharSequence s, int start, int count, int after) {
|
||||
|
@@ -73,6 +73,7 @@
|
||||
<item name="android:paddingLeft">3dp</item>
|
||||
<item name="android:paddingTop">3dp</item>
|
||||
<item name="android:paddingBottom">3dp</item>
|
||||
<item name="android:importantForAutofill">no</item>
|
||||
</style>
|
||||
|
||||
<style name="CppText.Display" parent="CppText">
|
||||
|
Reference in New Issue
Block a user