/Layout-Bounder

This plugin simplifies the usage of layout debug mode's.

Primary LanguageKotlinApache License 2.0Apache-2.0

Layout Bounder

https://plugins.jetbrains.com/plugin/21615-layout-bounder

This plugin simplifies the usage of layout debug mode's.
Layout Bounder

Usage

  1. Connect an Android device.
  2. Open the "Layout Bounder" Tool Window (in the right-bottom corner).
  3. Click the "Bound / Un Bound" button.
  4. Now you should see debug options enabled or disabled.

Installation

  • 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...

How to run code

Open project in Intellij IDEA.

Available gradle tasks:

  • runIde - launches a new instance of IDE with the plugin installed:
    • Execute ./gradlew runIde command in terminal
      OR
    • Press Ctrl twice to open the Run Anything window and execute gradle runIde command
  • check - runs linters and tests
  • buildPlugin packages 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"))
    }
}