In my xml layout:
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/nameTextInputEditText"
style="@style/textViewOneLine"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_margin="@dimen/default_margin"
android:focusable="true"
android:focusableInTouchMode="true"
android:hint="@string/name"
android:textColor="@android:color/white"
android:textColorHint="@android:color/white"
android:textSize="17sp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/toolBarContainer" />
But when show activity the soft keyboard is not show. I must click to TextInputEditText
to show keyboard.
this not help:
android:focusable="true"
android:focusableInTouchMode="true"