Когда пользователь фокусируется на редактируемом тексте с помощью «flagNoExtractUi», он работает отлично, он не извлекает пользовательский интерфейс (что я и хотел), но возникает новая ошибка, заключающаяся в том, что панель навигации становится черной нанижняя часть и нажимает кнопки вверх.
Я попытался удалить поведение редактируемого текста, занимающего весь экран в альбомном режиме (мое приложение полностью в альбомной ориентации), поэтому я нашел «рабочее» решение, которое добавляло android: imeOptions = "flagNoExtractUi"в XML, и он работал, за исключением черной части навигационной панели
Вот editText:
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/textInput_tutor_name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fontFamily="@font/didact_gothic"
android:hint="@string/example_tutor_name_registro_phone"
android:imeOptions="flagNoExtractUi"
android:inputType="textPersonName"
android:maxLines="1"
android:paddingStart="10dp"
android:paddingLeft="10dp"
android:paddingTop="14dp"
android:paddingRight="10dp"
android:paddingBottom="14dp"
android:textColor="@color/WhiteColor"
android:textColorHighlight="@color/WhiteColor"
android:textColorHint="@color/WhiteColor"
android:textColorLink="@color/WhiteColor"
android:textSize="20sp"
android:theme="@style/EditTextNewRegisterTheme"
app:backgroundTint="@color/WhiteColor" />
</com.google.android.material.textfield.TextInputLayout>
Этот edittext находится внутри constraintLayout:
<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="match_parent"
android:background="@drawable/bg_hd_new"
tools:context=".activities.RegistroNewActivity">
И тема моего приложения на тот случай, если в этом проблема
<style name="AppBaseTheme"
parent="Theme.AppCompat.Light.NoActionBar">
<item name="android:windowFullscreen">true</item>
</style>
Вот изображения того, как это выглядит:
Без клавиатуры:
![enter image description here](https://i.stack.imgur.com/LRWV3.png)
с клавиатурой:
![enter image description here](https://i.stack.imgur.com/D6Jej.png)