Skip to content

Commit

Permalink
Disable suggestions on DNS address input
Browse files Browse the repository at this point in the history
  • Loading branch information
karasevm committed Jan 13, 2023
1 parent 33f9018 commit a7d2e74
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/src/main/res/layout/dialog_add.xml
Original file line number Diff line number Diff line change
@@ -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">

Expand All @@ -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"
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>

0 comments on commit a7d2e74

Please sign in to comment.