HierarchyViewerSupport - PerfectCarl/androidannotations GitHub Wiki

Since AndroidAnnotations 3.0

@HierarchyViewerSupport

The @HierarchyViewerSupport annotation allows you to use the HierarchyViewer inspection tool on any device.

To use this annotation, your application must require the INTERNET permission and android:debuggable must be set to true in the AndroidManifest.xml.

Note that the usage is very simple, you just need to annotate your activity with @HierarchyViewerSupport :


@HierarchyViewerSupport
@EActivity
public class MyActivity extends Activity {

}