This immediately reduced the empty gap under the input field and aligned the error text exactly as needed.
<com.google.android.material.textfield.TextInputEditText ... android:layout_marginBottom="-10dp" />