https://plugins.jetbrains.com/plugin/21615-layout-bounder
This plugin simplifies the usage of layout debug mode's.

- Connect an Android device.
- Open the "Layout Bounder" Tool Window (in the right-bottom corner).
- Click the "Bound / Un Bound" button.
- Now you should see debug options enabled or disabled.
-
Using IDE built-in plugin system:
Preferences > Plugins > Marketplace > Search for "Layout Bounder" > Install Plugin
-
Manually:
Download the latest release and install it manually using Preferences > Plugins > ⚙️ > Install plugin from disk...
Open project in Intellij IDEA.
Available gradle tasks:
runIde- launches a new instance of IDE with the plugin installed:- Execute
./gradlew runIdecommand in terminal
OR - Press
Ctrltwice to open the Run Anything window and executegradle runIdecommand
- Execute
check- runs linters and testsbuildPluginpackages installable zip file
Distribution zip file will be available under./build/distributions/
You can choose which version of IDE runIde task launches by adding runIde configuration ./build.gradle.kts:
tasks {
...
runIde {
ideDir.set(file("/Applications/Android Studio.app/Contents"))
}
}