I have two activities in my project and I have used textInputLayout and given style to style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox" now my