You can add:
android:windowSoftInputMode="adjustPan"
Directly in the XML for TextInputEditText, if you want to use it only for certain inputs.