Is there any way to replace the EditText, which is already used in the program, by AutoCompleteTextView, which will fully replace it and will have all its functions?

<EditText android:id="@+id/height1" style="@style/textPole" android:layout_width="70sp" android:layout_height="26sp" android:layout_marginStart="8dp" android:background="@drawable/for_text_pole" app:layout_constraintStart_toEndOf="@+id/tvWeight" app:layout_constraintTop_toTopOf="@+id/tvWeight" /> 

    0