How to increase or reduce the size of the keyboard on Xiaomi: 5 working ways

The keyboard on Xiaomi is one of the most used tools, but it doesn't always suit users, because the buttons that are too big take up half the screen and interfere with view, and the small ones make you strain your eyes and make mistakes more often when typing. Fortunately, the manufacturer has provided several ways to adjust the scale, and for advanced users there are hidden settings.

In this article, we will discuss all available methods for resizing the keyboard, from standard MIUI functions to third-party applications and manual editing of system files. We will pay special attention to the nuances for different versions of firmware and smartphone models, so you can choose the best option for your device.

If you encounter a problem where the keyboard suddenly changed size after updating or resetting, don’t panic. 90% of the time, it’s solved in 2-3 minutes without installing additional software. And for those who want maximum customization, we have prepared instructions for fine-tuning through ADB and editing configuration files.

It is important to note that on some models (such as the POCO F5 or Redmi Note 12 Pro+), the available options may differ due to the features of the firmware, so before you start, we recommend checking the version of MIUI in the settings (Settings β†’ About Phone β†’ MIUI version) and comparing with our tips.

1. Standard keyboard size setting in MIUI

The easiest way to scale the keyboard is to use the built-in MIUI tools. This method works on all Xiaomi smartphones with the MIUI 12 firmware version and later, including Redmi, POCO and Black Shark.

Open any application where the keyboard appears (such as Notes or Messages). When the keyboard is activated, follow these steps:

  • πŸ”§ Press the gear icon (βš™οΈ) In the top panel of the keyboard to open its settings.
  • πŸ“ Select Size and layout (or display options in older versions).
  • πŸ”„ Move the slider The size of the keyboard to the left (reduce) or to the right (increase).
  • βœ… Click Ready or Save to apply the changes.

If you have a Google keyboard, the path is a little different:

  1. Put the badge on. βš™οΈ keyboard β†’ Topics.
  2. Select the layout setting β†’ Keyboard height.
  3. Adjust the slider and save the settings.

On some devices (such as Xiaomi 13 Ultra or Mix Fold 3), the keyboard settings may not have a size slider. In this case, try pulling two fingers beyond the top of the keyboard - many versions of MIUI support dynamic height change "on the fly".

πŸ“Š What keyboard do you use on Xiaomi?
Standard MIUI
Gboard (Google)
SwiftKey
other
I don't know.

2. Change of size through system settings

If the keyboard menu adjustment is not working or the option is not available, try rescaling the entire interface, which will indirectly affect the size of the keyboard, and works on all Xiaomi smartphones with Android 10 and later.

Instructions:

  1. Go to Settings. β†’ Screen.
  2. Select Text and Display Size (or Screen Size).
  3. Move the slider Font size or Scale by one or two divisions.
  4. Restart the device so that the changes take effect.

This method has two important nuances:

⚠️ Note: Scaling changes will affect the size of all interface elements, not just the keyboard. If you need spot editing, it is better to use specialized applications (see section 4).

On some models (such as the POCO X5 Pro), the screen settings have a separate keyboard size option. If not, check for system updates: in MIUI 14, this option is available for most devices.

Check the MIUI version in the settings

Make a backup copy of important data

Close all applications before setting up

Reboot your smartphone after the changes-->

3. Reset keyboard settings to factory

If the keyboard suddenly changed size after updating or crashing, resetting it will help, which will return all parameters to default values, including scale, theme and dictionaries, and is universal for all versions of MIUI.

How to reset your settings:

  1. Open Settings β†’ Applications β†’ Application Management.
  2. Find the MIUI Keyboard (or Gboard if you use it) in the list.
  3. Slip it on the vault. β†’ Clear the data.
  4. Confirm the action and restart the device.

Once reset, the keyboard will return to its standard size. If the problem persists, check if there are third-party themes or mods that may have scaled up, for example, some of the themes in the MIUI Themes contain their own fixed-size keyboard styles.

For Gboard, you can additionally reset settings through the application menu:

  • πŸ”§ Open the Gboard Settings (Icon) βš™οΈ keyboard).
  • πŸ”„ Go to the Supplementary β†’ Resetting settings.
  • βœ… Confirm the reset.

πŸ’‘

If the keyboard becomes too small after reset, try temporarily zooming in to the special features settings (Settings β†’ Special Features β†’ Scale).

4. Third-party applications for fine-tuning

If the built-in MIUI tools don't provide the flexibility you need, you can use customized keyboard applications that allow you to change not only the size, but also the transparency, color, button location, and even add gestures.

Top.-3 applications for setting the keyboard on Xiaomi:

AnnexFeaturesCompatibilityReference
ChroomFull customization of size, colors and layout, support for themes and gestures.Android 9+ (including MIUI 12-14)Google Play
FlorisBoardOpen-source keyboard with flexible size and indentation settings.Android 8+ (requires manual installation)GitHub
Simple KeyboardMinimalist keyboard with adjustment of height and width of buttons.Android 7+ (works without root)Google Play

To install a third-party keyboard:

  1. Download the application from the table above.
  2. Go to Settings β†’ System β†’ Language and input β†’ Virtual keyboard.
  3. Activate the downloaded keyboard and set it by default.
  4. Open the application settings and find the Size or Layout section.

For example, in Chroom, the path will be: Chroom settings β†’ Appearance β†’ Keyboard size, where you can separately adjust the height of the character string, indentations and even transparency.

⚠️ Note: Some third-party keyboards (e.g., FlorisBoard) require accessibility permission to work properly. β†’ Special facilities β†’ Installed services.

5. Manual size resizing via ADB (for advanced)

If you're ready to experiment, you can resize your keyboard through ADB (Android Debug Bridge), a technique that's suitable for users who don't have root rights, but want to fine-tune the interface. It works on all Xiaomi smartphones with an unlocked bootloader.

Instructions:

  1. Install ADB on your computer (instructions for Windows: official website).
  2. Turn on USB Debugging on your smartphone (Settings β†’ About Phone β†’ MIUI Version β†’ 7 times tap the build number β†’ return to Settings β†’ Additional β†’ For developers).
  3. Connect your phone to your PC and execute the command: adb shell settings put secure default_input_method com.miui.internal.inputmethod/.LatinIME (Replace com.miui.internal.inputmethod with your keyboard ID if you use a third-party keyboard).
  4. To change the size, enter Adb shell am start. -a android.settings.INPUT_METHOD_SETTINGS manually edit the settings in the menu that opens.

For experienced users, there is the ability to change the keyboard system files through ADB pull/push. For example, you can edit a file. /system/usr/keyboard/miui_keyboard_config.xml, But it requires root rights and can cause system failures.

Critical: Incorrectly editing system files via ADB can cause a cyclical reboot of your smartphone.Before experimenting, back up the /system partition.

How to find out the keyboard ID?
Open the ADB terminal and execute the command: adb shell ime list -s In the output, find the line with mId= - this is the identifier of your active keyboard.

6. Features for folding smartphones (Mix Fold, Mix Flip)

On foldable Xiaomi devices (such as the Mix Fold 3 or Mix Flip), the keyboard setting has its nuances due to the two screens and dynamic resolution change. Here, standard methods may not work, so special techniques will come in handy.

What to do if the keyboard is not properly scaled on a foldable smartphone:

  • πŸ“± Separation Mode: Enable Multitasking (Recent Apps) β†’ Split screen icon) and check if the keyboard size changes when dragging the separator.
  • πŸ”„ Forced modification DPI: In the developer settings (Settings) β†’ Additionally. β†’ For developers, find the minimum width and set the value 360dp or 400dp.
  • πŸ› οΈ Manual calibration: Some foldable firmware has a hidden screen calibration menu. To open it, type the phone code in the Phone app: ##284##.

On Mix Fold 3, the keyboard can automatically adjust to the device position (book/album). If this interferes, turn off the function in Settings β†’ Screen β†’ Autoturn β†’ Autoturn settings β†’ Ignore the keyboard.

For the Mix Flip (with an external small screen), the keyboard size on the main and secondary display is separately configured. Path: Settings β†’ Special Features β†’ External screen settings β†’ Keyboard size.

7 Solving problems after size change

Sometimes, when you resize your keyboard, you have side effects, like buttons overlapping, characters disappearing, or the keyboard doesn't appear at all. Here's how to fix this:

Frequent problems and their solutions:

Problem.Reason.Decision
Keyboard doesn't appearFailure after resetting settingsSwitch to another keyboard in Settings β†’ Language and input
Buttons are being appliedThe wrong DPI scaleReset the Minimum Width in the Developer Settings
The keyboard is too narrow.Conflict with the subject of designSet a standard theme in Settings β†’ Themes
No settings are saved.Firmware restrictionsUpdate MIUI to the latest version

If the keyboard has stopped working after manual editing:

  1. Reboot your smartphone in Safe Mode (press the power button β†’ long press on Turn off β†’ Safe Mode).
  2. In Safe Mode, remove or disable the third-party keyboard.
  3. Restart the device in normal mode.

For root-enabled devices, you can restore the standard keyboard settings via Magisk or TWRP by reinstalling the MIUI Keyboard module.

πŸ’‘

If the keyboard is unstable after changes, check if it conflicts with other system modes (e.g., modified DPI or animations).

FAQ: Frequent questions about keyboard size on Xiaomi

Can I change the size of the keyboard to Xiaomi without root?
Yes, in 90% of cases, this is possible without root rights. Use standard keyboard settings (Settings β†’ Language and Input β†’ Virtual Keyboard β†’ Size) or third-party applications like Chroom. ADB also does not require root, but you need to debug over USB.
Why did the MIUI update make the keyboard too big?
This is due to the change in standard zoom parameters in new versions of the firmware. Try resetting the keyboard settings (Settings β†’ Applications β†’ MIUI Keyboard β†’ Clear Data) or manually adjusting the size in its menu.
How to return the standard keyboard size to POCO F5?
On POCO F5, reset your keyboard settings through Settings β†’ System β†’ Settings Reset β†’ Reset application settings. If that doesn’t help, install Gboard and use it instead of the standard one.
Can I make different sizes for horizontal and vertical mode?
Yes, but only through third-party keyboards (like FlorisBoard) or manually editing configuration files via ADB. The standard MIUI keyboard doesn't have that feature.
Why is the Redmi Note 12 not having the option to resize the keyboard?
On some budget models (for example, Redmi Note) 12 on MIUI 13) The option may be hidden. Update the firmware to MIUI 14 or use ADB-Adb shell settings put secure default_input_method com.google.android.inputmethod.latin/.LatinIME Switch to Gboard with flexible settings.