Scalpel : Uncover the Layers Under Your App

Scalpel - Android Debug Tool

Scalpel is a surgical debugging tool to uncover the layers under your app. Follow the below steps to use the tool.

Place a ScalpelFrameLayout at the root of your hierarchy.

  • Enable the 3D interaction with setLayerInteractionEnabled(boolean).
  • Toggle wireframe display with setDrawViews(boolean).
  • Toggle view ID display with setDrawIds(boolean).

Below gestures are supported once interaction is enabled

  • Single touch: Controls the rotation of the model.
  • Two finger vertical pinch: Adjust zoom.
  • Two finger horizontal pinch: Adjust layer spacing.


Install/import with Gradle

Instructions for Gradle

Grab it via gradle,

compile 'com.jakewharton.scalpel:scalpel:1.1.1'
Install/import with Maven

Instructions for Maven

Add the below dependency,

Facebook Twitter Google Reddit LinkedIn

You may also like...

Leave a Reply

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