October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsWindows FixRecommendedWindows errors stealing your time? Find the fix fastScan stability, cleanup and performance issues.Fix NowOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
Mountain View desk3 min

Unexpected Keyboard: Customize What Every Key Does on Android

Unexpected Keyboard lets Android users customize key taps, directional swipes, and layout details with XML. Here’s how that differs from Gboard’s documented personalization controls.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Unexpected Keyboard lets you define what an Android keyboard key does when tapped or swiped in a direction. Its custom layouts use XML to set individual key actions and positions. Google’s Gboard help documents themes, sound, vibration, and emoji-size controls—not this kind of per-key output mapping—so the difference is customization granularity, not an absence of Gboard customization.

What Unexpected Keyboard lets you customize

Unexpected Keyboard is an Android virtual keyboard, not a physical keyboard. Its distinctive interaction is reaching extra characters by swiping from a key toward one of its corners. The project says it was originally designed for programmers using Termux, while also being intended for everyday use. See the project README and Google Play listing.

As an Amazon Associate I earn from qualifying purchases.

For a custom layout, you can define rows and key positions, choose the action a key performs on tap, and assign actions to directional swipes. The layout format also supports key width, spacing, and modifier-key behavior. In the XML, c specifies a key’s tap action; compass properties such as n, se, and sw specify swipe actions. That makes the app useful when you want a particular character or action on a particular key or swipe direction, rather than only a different visual theme.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

How to create or edit a custom layout

  1. Open Unexpected Keyboard’s settings and select an existing layout or add an alternate layout.
  2. Choose “Custom layout” to edit the layout’s XML. The project’s custom-layout guide explains the format for defining the keyboard name and writing system, rows, key positions, tap actions, swipe actions, widths, spacing, and modifier mapping.
  3. Save a separate copy of your XML. The project warns that edits kept only in the app can be lost if you install a build from a different source with a different signature.

If you prefer not to write the XML directly, the project documents a web-based editor: create the layout there, copy the generated XML, and paste it into the app. The editor is an optional workflow.

#1 Best Overall
Sale
OMOTON Bluetooth Tablet Keyboard Rechargeable with Backlit, Oversize Keycap
  • Full 3-System Compatibility & Wide Device Support: Perfectly compatible with Android, iOS and Windows three major systems. Works seamlessly with Samsung tablets, iPads, iPhones, laptops, smartphone, android, iOS, windows etc
  • How to Switch Systems: Switching to the corresponding system will improve compatibility and higher work efficiency (“FN + A” is for iOs , “FN + S” is for Windows, “FN + D” is for Android )
  • Enhanced Oversized Keycaps:27% bigger than standard keycaps. The spacious surface minimizes accidental presses and ensures comfortable typing for long hours
  • 5 Adjustable Angles & Foldable Stand for tablet or phone, It effectively eases hand and eye fatigue during long hours of use, helping you stay focused and work more efficiently
  • Long Battery Life & Smart Power Saving:Built‑in rechargeable lithium battery, Type‑C fast charging (full charge in 2–3 hours, last up to 200 hours with the backlight off, and 3-5 hours with the backlight on). Auto sleep mode after inactivity to save power, no frequent charging needed

How it differs from Gboard

Google’s Gboard personalization help describes controls for themes, key-tap sound and volume, keyboard vibration, and emoji size. It does not describe editing the output assigned to each key or its directional swipes. The supported distinction is therefore that Unexpected Keyboard’s documented custom layouts expose per-key behavior mapping, while the cited Gboard help covers appearance and feedback controls. This is not a complete feature comparison.

What you want to change Unexpected Keyboard Gboard, according to Google’s cited help
Assign a custom action to an individual key tap Supported in custom-layout XML, using c for the tap action; see the custom-layout guide. Not described on the cited personalization page: Google Gboard Help.
Assign actions to directional swipes on keys Supported in custom-layout XML through compass properties such as n, se, and sw; see the custom-layout guide. Not described on the cited personalization page: Google Gboard Help.
Adjust layout details Custom XML can set key positions, widths, spacing, and modifier-key behavior; see the custom-layout guide. The cited help describes themes and feedback settings, not custom key positioning: Google Gboard Help.
Change visual or typing-feedback settings The reviewed custom-layout guide focuses on layout and key behavior; it does not establish comparable theme, sound, or vibration controls. The cited help documents themes, key-tap sound and volume, keyboard vibration, and emoji size: Google Gboard Help.

Which keyboard should you choose?

Choose Unexpected Keyboard if

  • You want specific keys or swipe directions to produce actions you choose.
  • You are comfortable editing XML or using a web editor and maintaining a separate backup of your layout.
  • Your priority is control over key behavior and layout rather than relying only on the settings documented in Gboard’s personalization help.

Choose based on your everyday typing needs, too

The documentation cited here does not establish which keyboard is faster or more accurate, or compare predictive text, correction quality, language coverage, and accessibility. If those matter to your choice, assess them for your own languages and typing habits rather than inferring an advantage from layout customization alone. Gboard’s cited controls may be enough if your goal is to change themes or typing feedback without authoring a custom layout.

Rank #2
Arteck Compact Wireless Bluetooth Keyboard for iPad Tablet iPhone PC Black
  • Cable-Free: Bluetooth Connection with your mobile devices such as tablets and mobile phones. Bring you more convenience when you need to type. Operating distance up to 10 meters. This keyboard is bluetooth enabled and it doesn't come with a USB dongle. It also supports Bluetooth-enabled PCs or Laptops. Arteck Ultra-Slim Bluetooth Keyboard Compatible with iPad 10.2-inch / iPad Air / iPad 9.7-inch / iPad Pro / iPad Mini, iPhone and other Bluetooth Enabled Devices Including iOS, Android, Windows, Black
  • Broad Compatibility: Use with all four major operating systems supporting Bluetooth (iOS, Android, Mac OS and Windows), including iPad 10.2-inch / Air / iPad Pro / iPad 9.7-inch / iPad Mini / iPhone / Android Tablets like Samsung Galaxy Tab, Google Nexus / Windows, etc.
  • Convenient Layout: QWERTY layout with hot keys customized for all iPads, including volume, music control, brightness, etc.
  • Long Battery Life: Energy-saving design and automatic sleep mode allow up to 4 months between battery changes. (based on 2 hours' non-stop use per day) (2 X AAA batteries included)
  • Package contents: Arteck HB098 Bluetooth Keyboard, 2 X AAA batteries, welcome guide, our 24-month warranty and friendly customer service.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Compatibility and availability

F-Droid’s listing reports that version 2.1.0 (build 56), added September 9, 2026, requires Android 5.0 or newer. That requirement is specific to the build and distribution information on F-Droid’s listing; check the listing for current details. Other distribution channels may have different requirements.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Google’s Gboard help notes that some personalization steps require Android 7.0 or newer. It also says device vibration settings can override Gboard’s vibration setting; consult Google’s instructions for the applicable steps and settings.

Best Value
SPARIN Bluetooth Keyboard for Galaxy Tab A11 Plus/A9 Plus/S11/S10 FE/S10+..
  • SUPER COMPATIBILITY: Highly compatible for Samsung Galaxy Tab A11 Plus/A9+/S11/S10+/S10 FE/S9 FE/S7 FE/S6 Lite and almost other samsung tablets, laptops and phones
  • SLIM AND PORTABLE: Specially design the keyboard for Samsung Tablets with thin and light size (11.2"L x 4.7"W x 0.2"H), easily packed in backpacks and handbags while work or travel
  • LONG BATTERY LIFE: 30 days of continuous use and automatic sleep model allows up to half a year between battery change,Powered by 2pcs AAA batteries (BATTERIES NOT INCLUDED)
  • BRILLIANT DESIGN: Scissor feet and chocolate key-caps design provide a comfortable and noiseless typing. QWERTY layout with featured function keys including volume, music control, brightness, etc
  • EASY TO USE: Bluetooth wireless easily connect with your mobile device such as tablets and mobile phones, the operating distance up to 10 meters, you could enjoy fast response with each typing
Rank #4
Ultra-Slim Bluetooth Keyboard Portable Mini Wireless Keyboard Rechargeable for Apple iPad iPhone Samsung Tablet Phone Smartphone iPadOS iOS Android (10 inch Black)
  • Excellent Compatibility: The Bluetooth keyboard compatible with iOS, Android and iPad OS system. It is perfect for Apple iPhone, iPad, iPad Mini, iPad Pro, iPad Air, Android Samsung LG tablet smartphone cell phone.
  • Light portable and compact: This keyboard is much lighter, smaller than traditional keyboard. You can easily carry it without taking up more space on your desk or bag. 10 inch keyboard dimensions: 25 x 15 x 0.6 cm, weight: 180g. 【Size: 9.84 x 5.9 x 0.24 inch, weight: 6.35ounce/0.4pounds】
  • Long-term use: Built-in rechargeable lithium battery, after fully charged, it can be used for more than 20 days (When used continuously for 2 hours a day). If you don't use it for more than 10 minutes, the keyboard will automatically enter the sleep state to save power. If you want to continue to use it, just click any key to wake up the keyboard.
  • Comfortable Bluetooth Keyboard: The keys of the keyboard are scissor structure, square chocolate keycap design. Use this keyboard, you can type quietly on your tablet, iPad, iPhone, smartphone and provide you with a comfortable and pleasant typing experience.
  • Bluetooth Connection: The keyboard adopts stable Bluetooth technology, the working distance is up to 10m. The keyboard is US QWERTY layout, easy to use, has hot keys, such as volume control, play and pause, previous and next etc. The front is brushed, the back is ultra-thin and smooth aluminum alloy design.
Rank #3
Samsers Foldable Bluetooth Keyboard with Touchpad, Ultra Slim Compact,Black
  • 【Folding Bluetooth Keyboard & Phone Stand Holder】Extremely thin design of the portable folding keyboard allows you to fold it up and put it in your pocket or bag without taking up too much space. The phone stand holder, best companion for folding keyboard, gives you perfect screen angle. Near-standard size design provides accurate, fast typing, just like the desktop keyboard you are used to. Quiet keys allow you to focus on your work. Perfect gift for travel and business trips!
  • 【Sensitive Touchpad Foldable Keyboard】Upgrade sensitive touchpad supports multi-touch, so you can control the device without using mouse. More convenient and efficient! (NOTE: IOS 13.4 and below or Android 3.0 and below are not supported!!!) Built-in rechargeable battery can last for 48 hours or 560 hours after 2-3 hours of charging. One full charge last enough for your short business trip or vacation!
  • 【Exquisite & Lightweight Portable Keyboard】Dark Black matte exterior, made of ABS+PC material, lightweight but sturdy, without fear of daily wear and scratches. The elegant matte design, excellent touch and clean look make it a perfect match for your tablet, phone and laptop. Only 5.53-ounce, palm-sized keyboard can be folded up and carried around. Provide you with maximum convenience with minimal weight and size. It must be a good choice for editors!
  • 【Stable Connection & Wide Compatibility】Samsers Bluetooth keyboard supports seamless connectivity to all your Bluetooth devices (iOS, Android and Windows). Maintain a stable connection and provide fast response to the device within 10 m. Simply turn on the keyboard and automatically connect to the last connected device. With a Samsers keyboard, you can record all your ideas at any time! (NOTE: this bluetooth keyboard is not compatible with various computer sticks)

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
PC Slower Than It Used to Be?Free scan - under a minute
Crashes, No Sound, or Screen Glitches?Free driver scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.