protected final Element getTargetElement(View v) {
        Element target = null;
        for (int i = elements.size() - 1; i >= 0; i--) {
            final Element element = elements.get(i);
            if (element.getView() == v) {
                target = element;
                break;
            }
        }
        if (target == null) {
            Log.w(TAG, "getTargetElement: not find");
        }
        return target;
    }
Created by linjiang on 09/06/2018.

https://github.com/eleme/UETool/
pandora-core/src/main/java/tech/linjiang/pandora/inspector/ElementHoldView.java