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:
- Put the badge on. βοΈ keyboard β Topics.
- Select the layout setting β Keyboard height.
- 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".
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:
- Go to Settings. β Screen.
- Select Text and Display Size (or Screen Size).
- Move the slider Font size or Scale by one or two divisions.
- 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:
- Open Settings β Applications β Application Management.
- Find the MIUI Keyboard (or Gboard if you use it) in the list.
- Slip it on the vault. β Clear the data.
- 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:
| Annex | Features | Compatibility | Reference |
|---|---|---|---|
| Chroom | Full customization of size, colors and layout, support for themes and gestures. | Android 9+ (including MIUI 12-14) | Google Play |
| FlorisBoard | Open-source keyboard with flexible size and indentation settings. | Android 8+ (requires manual installation) | GitHub |
| Simple Keyboard | Minimalist keyboard with adjustment of height and width of buttons. | Android 7+ (works without root) | Google Play |
To install a third-party keyboard:
- Download the application from the table above.
- Go to Settings β System β Language and input β Virtual keyboard.
- Activate the downloaded keyboard and set it by default.
- 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:
- Install ADB on your computer (instructions for Windows: official website).
- Turn on USB Debugging on your smartphone (Settings β About Phone β MIUI Version β 7 times tap the build number β return to Settings β Additional β For developers).
- 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).
- 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?
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 appear | Failure after resetting settings | Switch to another keyboard in Settings β Language and input |
| Buttons are being applied | The wrong DPI scale | Reset the Minimum Width in the Developer Settings |
| The keyboard is too narrow. | Conflict with the subject of design | Set a standard theme in Settings β Themes |
| No settings are saved. | Firmware restrictions | Update MIUI to the latest version |
If the keyboard has stopped working after manual editing:
- Reboot your smartphone in Safe Mode (press the power button β long press on Turn off β Safe Mode).
- In Safe Mode, remove or disable the third-party keyboard.
- 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).