The color of the keyboard on Xiaomi smartphones is not just an aesthetic element, but part of the user experience that can be fully adapted to suit yourself. Many owners of Redmi, POCO or Mi devices do not even realize that the standard white or gray keyboard easily turns into a bright palette of shades β from neon to pastel. But how to do it correctly, so as not to encounter bugs or sudden change of themes after an update? In this article, we will analyze all the current ways to change the color of the keyboard, including hidden MIUI settings, third-party applications and even manual editing of advanced file systems.
It's important to understand that the customization options are dependent on the firmware version and the device model. For example, on the Xiaomi 13 Pro with MIUI 14, the algorithm is different from what works on the Redmi Note 10 with MIUI 12.5. We took these nuances into account and prepared universal instructions that cover 90% of the current devices of the brand. And if you like experiments, at the end of this article you will find tips for creating custom themes with unique colors that are not in the standard settings.
Why does the keyboard on Xiaomi change color on its own?
Many users complain that when you update the system or change the wallpaper, the keyboard suddenly becomes a different shade, which is not a bug, but a feature of MIUI.
- π¨ Current design theme (if you choose a dynamic theme, the keyboard will change with it)
- π± Color of wallpaper (algorithm highlights the dominant hue and applies it to system elements)
- π Dark/light theme mode (in dark mode, the keys can turn grey or black)
- π² Third-party launchers (some shells, such as Nova Launcher, conflict with settings) MIUI)
If you don't like automatic customization, you can turn it off. Go to Settings β Display β Color Scheme and deactivate Auto Color Selection. However, some devices (like POCO F5) may not have this option, so only manually adjusting the keyboard through themes will help.
Method 1: Color change through standard MIUI themes
The easiest and safest method is to use built-in themes. MIUI offers dozens of free and paid themes that change not only the wallpaper, but also the color of the keyboard, icons and system menus. Here's how it works:
- Open the Themes app (the icon with a brush on your desktop).
- Go to the Keyboard tab or find the Color Schemes section.
- Select your favorite theme and click Apply.
- If the desired color is not available, use the color filter (the palette icon in the upper right corner).
Note that some themes only change the background of the keyboard, leaving the keys themselves standard. To see the full preview, click on the theme thumbnail and scroll down to the keyboard section. Also note that after changing the theme, you may need to reboot the device β especially on Redmi 9 and older models.
Check the version of MIUI in Settings β About the phone
Backup your current theme (click on three dots β Save)
Close all applications before applying a new theme
Reboot your phone after the changes-->
Method 2: Manual color change in Gboard keyboard settings
If you use the Gboard keyboard (from Google), you can adjust the color regardless of the system theme, which works on all Xiaomi devices, regardless of the MIUI version:
- Open any field to enter text (e.g., in Messages).
- Click on the icon. βοΈ (gear) on the keyboard to open its settings.
- Select Themes β Color.
- Scroll down and press the Palitre to select any shade manually.
- Save the changes with the Ready button.
Gboard also has an Adaptive Color option that adjusts the keyboard to fit the wallpaper, but on Xiaomi it can conflict with the MIUI system settings, so itβs best to turn it off if the keyboard starts to blink or twitch when you type.
How to get back the standard Xiaomi keyboard if you donβt like Gboard?
Method 3: Using third-party keyboards with customization
If there are few built-in options, you can install an alternative keyboard from Google Play.
- π¨ SwiftKey β supports gradients, transparency and custom keyboard wallpaper.
- π₯ Fleksy β minimalist design with the ability to choose any color in the HEX-format.
- π Chroom β keyboard with support for themes MIUI and dynamically adjusting under the wallpaper.
- β‘ Typewise β unusual hexagonal design with wide color settings.
To install a third-party keyboard:
- Download the app from Google Play.
- Go to Settings β Additional β Language and input β Current keyboard.
- Activate the new keyboard and follow the setup instructions.
π‘
If it doesnβt appear on the list of available keyboards after installing the third-party keyboard, reboot the phone. Some Xiaomi models (such as the Mi 11 Lite) also require you to clear the Settings app cache through Settings β Applications β Application Management.
Method 4: Editing System Files (for Advanced)
This method is only suitable for users with unlocked bootloader and root rights. It allows you to change the color of the keyboard at the system file level, but requires caution - incorrect actions can lead to a failure of MIUI.
You'll need:
- π± Device with root rights (for example, through Magisk).
- π» Programme MT Manager or Root Explorer for file editing.
- π¨ Knowledge HEX-Color codes (you can find them on htmlcolorcodes.com).
Instructions:
- Open Root Explorer and go on the path: /system/app/MiuiKeyboard/MiuiKeyboard.apk/res/values/colors.xml
- Find the lines with the parameters keyboard_background, key_text_color etc.
- Replace. HEX-values of their own (e.g, #FF0000 red).
- Save the file and restart the device.
π‘
Editing system files can cause a keyboard to fail or a download cycle.Always back up the original file. colors.xml change!
On models with MIUI 14 and later, the path to keyboard files may be different β look for them in /product/app/MiuiKeyboard/ or /system/priv-app/MiuiKeyboard/.
Compatibility table with MIUI versions
| Method | MIUI 12.5 and below | MIUI 13 | MIUI 14 | Need root? |
|---|---|---|---|---|
| Standard topics | β Yes. | β Yes. | β Yes. | β No. |
| Gboard settings | β Yes. | β Yes. | β Yes. | β No. |
| Third-party keyboards | β Yes. | β Yes. | β Yes. | β No. |
| Editing colors.xml | β Yes. | β οΈ Partially. | β No (changed path) | β Yes. |
| ADB-team | β No. | β Yes. | β Yes. | β No. |
Frequent problems and their solutions
When you change the color of the keyboard, Xiaomi users often encounter bugs, and here are the most common ones and ways to fix them:
- π Color resets after rebooting: Check if Auto Update Themes is enabled in the Topic settings. If the problem persists, clear the Topic app cache.
- β« The keyboard went black and you couldn't see the text: This is due to a conflict between the dark theme and the color scheme. Go to Settings. β Display. β Dark theme and temporarily turn it off to regain visibility.
- π¨ No Color in the Palette: Use the Required HEX-In Gboard or SwiftKey, you can manually type it in the theme settings.
- β οΈ Keyboard blinks or brakes: Turn off animations in Settings β Special facilities β Remove animations. Also check if the keyboard conflicts with other applications (e.g. Good Lock on the computer). POCO).
π‘
If the keyboard becomes transparent and poorly visible after changing the theme, add a shadow or a stroke in the settings. In Gboard, this is done through Themes β Customization β Key Effects.
β οΈ Attention: On devices with MIUI For example, the Redmi Note 12 Pro+ 5G) Some color schemes may be blocked due to localization, and changing the region in your Xiaomi account settings will help (but it can affect services like Mi Cloud).