Disable suggestions on DNS address input

This commit is contained in:
Maksim Karasev 2023-01-13 03:05:11 +03:00
parent 33f9018457
commit a7d2e74c46
2 changed files with 4 additions and 2 deletions

View file

@ -1,7 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content">
@ -12,7 +11,9 @@
android:layout_margin="24dp"
android:ems="10"
android:maxLines="1"
android:inputType="text"
android:inputType="textNoSuggestions"
android:importantForAutofill="no"
android:hint="@string/add_edittext_hint"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"

View file

@ -11,5 +11,6 @@
<string name="delete">Delete</string>
<string name="server_length_error">Server address cannot be empty</string>
<string name="privacy_policy">Privacy Policy</string>
<string name="add_edittext_hint">DNS server address</string>
</resources>