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