We can change the size of the keyboard on the Xiaomi smartphone, with a total of seven different options, from extra short to extra tall, which can be adjusted by a slider and, depending on the system, for direct selection.

Android 10 (MIUI 12.0)
Step 1:  Open the  Settings
Step 2:  Tap on  Additional settings
Step 3:  Tap on  Languages & input
Step 4:  Tap on  Manage keyboards
Step 5:  Open the  Settings
Step 6:  Tap on  Preferences
Step 7:  Tap on  Keyboard height
Step 8:  Set the  Keyboard height
  1. Open the Settings
  2. Tap on Additional settings
  3. Tap on Languages & input
  4. Tap on Manage keyboards
  5. Open the Settings
  6. Tap on Preferences
  7. Tap on Keyboard height
  8. Set the Keyboard height

Xiaomi Instructions