Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/JakeWharton/scalpel
A surgical debugging tool to uncover the layers under your app.
https://github.com/JakeWharton/scalpel
Last synced: 3 months ago
JSON representation
A surgical debugging tool to uncover the layers under your app.
- Host: GitHub
- URL: https://github.com/JakeWharton/scalpel
- Owner: JakeWharton
- License: apache-2.0
- Created: 2014-01-06T17:26:01.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2020-02-28T14:37:39.000Z (over 4 years ago)
- Last Synced: 2024-06-19T13:45:54.377Z (5 months ago)
- Language: Java
- Size: 1.01 MB
- Stars: 2,768
- Watchers: 85
- Forks: 237
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-android - Scalpel - View the entire hierarchy in 3d in the phone. (Libraries / Debugging Tools)
- android-awesome-libraries - scalpel
- awesome-android-libraries - scalpel
- awesome-android - Scalpel - View the entire hierarchy in 3d in the phone. (Libraries / Debugging Tools)
- awesome-android-cn - 官网
README
Scalpel
======DEPRECATED! Android Studio 4.0's layout inspector now includes a live-updating 3D view. Use it!
---
A surgical debugging tool to uncover the layers under your app.
![](images/sample.gif)
Usage
-----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).`
* Change the wireframe color with `setChromeColor(int)` and `setChromeShadowColor(int)`.When interaction is enabled the following gestures are supported:
* Single touch: Controls the rotation of the model.
* Two finger vertical pinch: Adjust zoom.
* Two finger horizontal pinch: Adjust layer spacing.If you are using the Gradle-based build system, you can wrap this view group around your activity
layouts only in the debug builds.*Note: There are known text rendering issues prior to Android 4.4 that cannot be fixed. Sorry.*
Download
--------Download [the latest JAR][1] or grab via Gradle:
```groovy
compile 'com.jakewharton.scalpel:scalpel:1.1.2'
```
or Maven:
```xmlcom.jakewharton.scalpel
scalpel
1.1.2```
License
--------Copyright 2014 Jake Wharton
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.[1]: http://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=com.jakewharton.scalpel&a=scalpel&v=LATEST