Home > Tips and Tricks

Edit Touch and Hold Delay Timings on Android via ADB Commands

In this guide, we will show you a nifty method using which you can edit and add any value of your choice in the Touch and Hold Delay action on your Android device. The OS from the Silicon Valley giant beholds a slew of accessibility-level tweaks. These are spread across text, audio, video, display, animations, interactive gestures, and some OEM-specific actions. One among them is Touch and Hold Delay,

As is evident from its name, this feature is the time taken for the menu to appear upon long pressing on a particular element. For instance, if you long tap on a text, then a menu consisting of Cut, Copy, Paste, Search, Select All, etc would appear. Likewise, upon long pressing on an icon on the home screen, you get the option to remove it, edit it, or get more info about it.

Touch and Hold Delay android

These are just two of the many instances, you’ll find this long tap gesture to invoke a menu across numerous aspects of the OS. Moreover, you also have the option to change the time duration of this menu to appear. In this regard, you’ll come across three options: Short, Medium, and Long. And that’s just about it.

Furthermore, they all have a predefined timing setup, you cannot tweak it at your convenience. For instance, if the Short time is set to 500 milliseconds, then you cannot further lower it to 100 milliseconds. Or can you? Well, there exists a nifty workaround using which this could be carried out. And in this guide, we will make you aware of that trick. So without further ado, let’s check it out.

Edit Touch and Hold Delay Timings on Android via ADB Commands!

YouTube video

  1. First off, download and extract the Android SDK Platform Tools on your PC.
  2. Then head over to Settings > About Phone > Tap on Build Number 7 times.
  3. This will enable Developer Options. Go there and enable USB Debugging.retain twrp custom rom
  4. Once that is done, now connect your device to your PC using a USB cable.
  5. Then type in CMD in the platform-tools folder address bar and hit Enter.
  6. This will launch Command Prompt. Finally, type in the below command:
    adb shell settings put secure long_press_timeout x

    edit touch and hold delay

  7. Make sure to change the value of x with the desired time in milliseconds.
  8. Once done, restart your device for the changes to take place. That’s it.

These were the steps to edit and add any value of your choice in the Touch and Hold Delay action on your Android device. If you have any queries concerning the aforementioned steps, do let us know in the comments. We will get back to you with a solution at the earliest.


Share: