Skip to content

Instantly share code, notes, and snippets.

@tiwiz
Created July 11, 2016 13:59
Show Gist options
  • Save tiwiz/b21811bf99eeb6501676202c6023384d to your computer and use it in GitHub Desktop.
Save tiwiz/b21811bf99eeb6501676202c6023384d to your computer and use it in GitHub Desktop.
This script is a faster way to enable and disable debug layout. Just run it and it will toggle the debug layout.
#!/bin/bash
adb shell setprop debug.layout true
adb shell am start com.android.settings/.DevelopmentSettings
adb shell input keyevent 4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment