Category : android-design-library

I have this xml inside a Fragment, which is opened by a NavHostFragment: <com.google.android.material.textfield.TextInputEditText android:id="@+id/content_title_input" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="@dimen/top_bottom_space_input" android:layout_marginBottom="@dimen/top_bottom_space_input"> <requestFocus/> </com.google.android.material.textfield.TextInputEditText> When the Fragment is opened the first time and the user tabs/clicks on the focused TextInputEditText, the Keaboard opens. When my Fragment is opened the second time, the text input field is focused, but ..

Read more

I have this xml inside a Fragment, which is opened by a NavHostFragment: <com.google.android.material.textfield.TextInputEditText android:id="@+id/content_title_input" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="@dimen/top_bottom_space_input" android:layout_marginBottom="@dimen/top_bottom_space_input"> <requestFocus/> </com.google.android.material.textfield.TextInputEditText> When the Fragment is opened the first time and the user tabs/clicks on the focused TextInputEditText, the Keyboard opens. When my Fragment is opened the second time, the text input field is focused, but ..

Read more