Search in sources :

Example 1 with LayoutHierarchyFloatyWindow

use of com.stardust.scriptdroid.ui.floating.layoutinspector.LayoutHierarchyFloatyWindow in project Auto.js by hyb1996.

the class CircularMenu method showLayoutHierarchy.

@Optional
@OnClick(R.id.layout_hierarchy)
void showLayoutHierarchy() {
    mWindow.collapse();
    if (!ensureCapture()) {
        return;
    }
    mCaptureDeferred.promise().done(capture -> {
        LayoutHierarchyFloatyWindow window = new LayoutHierarchyFloatyWindow(capture);
        mActionViewIcon.post(() -> FloatyService.addWindow(window));
    });
}
Also used : LayoutHierarchyFloatyWindow(com.stardust.scriptdroid.ui.floating.layoutinspector.LayoutHierarchyFloatyWindow) Optional(butterknife.Optional) OnClick(butterknife.OnClick)

Aggregations

OnClick (butterknife.OnClick)1 Optional (butterknife.Optional)1 LayoutHierarchyFloatyWindow (com.stardust.scriptdroid.ui.floating.layoutinspector.LayoutHierarchyFloatyWindow)1