choose the cancel open cancel at the top right corner flip to cancel icon
{"activity_name": "com.android.gallery3d/com.android.gallery3d.app.GalleryActivity", "activity": {"root": {"scrollable-horizontal": false, "draw": true, "ancestors": ["android.widget.FrameLayout", "android.view.ViewGroup", "android.view.View", "java.lang.Object"], "clickable": false, "pressed": "not_pressed", "focusable": false, "long-clickable": false, "enabled": true, "bounds": [0, 0, 1440, 2392], "visibility": "visible", "content-desc": [null], "rel-bounds": [0, 0, 1440, 2392], "focused": false, "selected": false, "scrollable-vertical": false, "children": [{"resource-id": "android:id/decor_content_parent", "adapter-view": false, "pointer": "cf96059", "children": [{"resource-id": "android:id/content", "adapter-view": false, "pointer": "f5f541e", "children": [{"resource-id": "com.android.gallery3d:id/gallery_root", "adapter-view": false, "pointer": "46c24ff", "children": [{"resource-id": "com.android.gallery3d:id/gl_root_view", "adapter-view": false, "pointer": "18ba2cc", "scrollable-horizontal": false, "ancestors": ["android.opengl.GLSurfaceView", "android.view.SurfaceView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [0, 0, 1440, 2308], "draw": true, "focusable": false, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": false, "abs-pos": true, "class": "com.android.gallery3d.ui.GLRootView", "visible-to-user": true, "package": "com.android.gallery3d", "enabled": true, "bounds": [0, 84, 1440, 2392], "pressed": "not_pressed", "scrollable-vertical": false}, {"resource-id": "com.android.gallery3d:id/gl_root_cover", "adapter-view": false, "pointer": "9d6a915", "scrollable-horizontal": false, "ancestors": ["java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [0, 0, 1440, 2308], "draw": false, "focusable": false, "long-clickable": false, "visibility": "gone", "focused": false, "clickable": false, "abs-pos": true, "class": "android.view.View", "visible-to-user": false, "package": "com.android.gallery3d", "enabled": true, "bounds": [0, 84, 1440, 2392], "pressed": "not_pressed", "scrollable-vertical": false}, {"resource-id": "com.android.gallery3d:id/header", "adapter-view": false, "pointer": "328942a", "scrollable-horizontal": false, "ancestors": ["android.view.ViewGroup", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [0, 0, 0, 0], "draw": true, "focusable": false, "long-clickable": false, "visibility": "gone", "focused": false, "clickable": false, "abs-pos": true, "class": "android.widget.FrameLayout", "visible-to-user": false, "package": "com.android.gallery3d", "enabled": true, "bounds": [0, 84, 0, 84], "pressed": "not_pressed", "scrollable-vertical": false}, {"resource-id": "com.android.gallery3d:id/footer", "adapter-view": false, "pointer": "7e8121b", "scrollable-horizontal": false, "ancestors": ["android.view.ViewGroup", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [0, 0, 0, 0], "draw": true, "focusable": false, "long-clickable": false, "visibility": "gone", "focused": false, "clickable": false, "abs-pos": true, "class": "android.widget.FrameLayout", "visible-to-user": false, "package": "com.android.gallery3d", "enabled": true, "bounds": [0, 84, 0, 84], "pressed": "not_pressed", "scrollable-vertical": false}], "scrollable-horizontal": false, "ancestors": ["android.view.ViewGroup", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [0, 0, 1440, 2308], "draw": true, "focusable": false, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": false, "abs-pos": true, "class": "android.widget.RelativeLayout", "visible-to-user": true, "package": "com.android.gallery3d", "enabled": true, "bounds": [0, 84, 1440, 2392], "pressed": "not_pressed", "scrollable-vertical": false}], "scrollable-horizontal": false, "ancestors": ["android.view.ViewGroup", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [0, 84, 1440, 2392], "draw": true, "focusable": false, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": false, "abs-pos": true, "class": "android.widget.FrameLayout", "visible-to-user": true, "package": "android", "enabled": true, "bounds": [0, 84, 1440, 2392], "pressed": "not_pressed", "scrollable-vertical": false}, {"resource-id": "android:id/action_bar_container", "adapter-view": false, "pointer": "f361fb8", "children": [{"resource-id": "android:id/action_bar", "adapter-view": false, "pointer": "805c191", "children": [{"scrollable-horizontal": false, "draw": true, "ancestors": ["android.view.ViewGroup", "android.view.View", "java.lang.Object"], "clickable": true, "pressed": "not_pressed", "focusable": true, "long-clickable": false, "enabled": true, "bounds": [0, 84, 169, 252], "visibility": "visible", "content-desc": ["Select photo, Navigate up"], "rel-bounds": [0, 0, 169, 168], "focused": false, "selected": false, "scrollable-vertical": false, "children": [{"scrollable-horizontal": false, "draw": true, "ancestors": ["android.widget.FrameLayout", "android.view.ViewGroup", "android.view.View", "java.lang.Object"], "clickable": false, "pressed": "not_pressed", "focusable": false, "long-clickable": false, "enabled": true, "bounds": [0, 84, 169, 252], "visibility": "visible", "content-desc": [null], "rel-bounds": [0, 0, 169, 168], "focused": false, "selected": false, "scrollable-vertical": false, "children": [{"resource-id": "android:id/up", "adapter-view": false, "pointer": "1097f64", "scrollable-horizontal": false, "ancestors": ["android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [0, 56, 56, 112], "draw": false, "focusable": false, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": false, "abs-pos": true, "class": "android.widget.ImageView", "visible-to-user": true, "package": "android", "enabled": true, "bounds": [0, 140, 56, 196], "pressed": "not_pressed", "scrollable-vertical": false}, {"resource-id": "android:id/home", "adapter-view": false, "pointer": "133e5cd", "scrollable-horizontal": false, "ancestors": ["android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [43, 28, 155, 140], "draw": false, "focusable": false, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": false, "abs-pos": true, "class": "android.widget.ImageView", "visible-to-user": true, "package": "android", "enabled": true, "bounds": [43, 112, 155, 224], "pressed": "not_pressed", "scrollable-vertical": false}], "adapter-view": false, "abs-pos": true, "pointer": "46bb4f7", "class": "com.android.internal.widget.ActionBarView$HomeView", "visible-to-user": true}], "adapter-view": false, "abs-pos": true, "pointer": "293c8f6", "class": "android.widget.LinearLayout", "visible-to-user": true}, {"scrollable-horizontal": false, "draw": false, "ancestors": ["android.widget.LinearLayout", "android.view.ViewGroup", "android.view.View", "java.lang.Object"], "clickable": false, "pressed": "not_pressed", "focusable": false, "long-clickable": false, "enabled": true, "bounds": [1225, 84, 1440, 252], "visibility": "visible", "content-desc": [null], "rel-bounds": [1225, 0, 1440, 168], "focused": false, "selected": false, "scrollable-vertical": false, "children": [{"text": "Cancel", "resource-id": "com.android.gallery3d:id/action_cancel", "adapter-view": false, "pointer": "49700ce", "scrollable-horizontal": false, "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": ["Cancel"], "rel-bounds": [0, 0, 215, 168], "draw": false, "focusable": true, "long-clickable": true, "visibility": "visible", "focused": false, "clickable": true, "abs-pos": true, "class": "com.android.internal.view.menu.ActionMenuItemView", "visible-to-user": true, "package": "com.android.gallery3d", "enabled": true, "bounds": [1225, 84, 1440, 252], "pressed": "not_pressed", "scrollable-vertical": false}], "adapter-view": false, "abs-pos": true, "pointer": "2a611c9", "class": "android.widget.ActionMenuView", "visible-to-user": true}], "scrollable-horizontal": false, "ancestors": ["com.android.internal.widget.AbsActionBarView", "android.view.ViewGroup", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [0, 0, 1440, 168], "draw": true, "focusable": false, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": false, "abs-pos": true, "class": "com.android.internal.widget.ActionBarView", "visible-to-user": true, "package": "android", "enabled": true, "bounds": [0, 84, 1440, 252], "pressed": "not_pressed", "scrollable-vertical": false}, {"resource-id": "android:id/action_context_bar", "adapter-view": false, "pointer": "3de4bef", "scrollable-horizontal": false, "ancestors": ["com.android.internal.widget.AbsActionBarView", "android.view.ViewGroup", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [0, 0, 0, 0], "draw": true, "focusable": false, "long-clickable": false, "visibility": "gone", "focused": false, "clickable": false, "abs-pos": true, "class": "com.android.internal.widget.ActionBarContextView", "visible-to-user": false, "package": "android", "enabled": true, "bounds": [0, 84, 0, 84], "pressed": "not_pressed", "scrollable-vertical": false}], "scrollable-horizontal": false, "ancestors": ["android.widget.FrameLayout", "android.view.ViewGroup", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [0, 84, 1440, 252], "draw": false, "focusable": false, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": false, "abs-pos": true, "class": "com.android.internal.widget.ActionBarContainer", "visible-to-user": true, "package": "android", "enabled": true, "bounds": [0, 84, 1440, 252], "pressed": "not_pressed", "scrollable-vertical": false}, {"resource-id": "android:id/split_action_bar", "adapter-view": false, "pointer": "aa356fc", "scrollable-horizontal": false, "ancestors": ["android.widget.FrameLayout", "android.view.ViewGroup", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [0, 0, 0, 0], "draw": false, "focusable": false, "long-clickable": false, "visibility": "gone", "focused": false, "clickable": false, "abs-pos": true, "class": "com.android.internal.widget.ActionBarContainer", "visible-to-user": false, "package": "android", "enabled": true, "bounds": [0, 0, 0, 0], "pressed": "not_pressed", "scrollable-vertical": false}], "scrollable-horizontal": false, "ancestors": ["android.view.ViewGroup", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [0, 0, 1440, 2392], "draw": true, "focusable": false, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": false, "abs-pos": true, "class": "com.android.internal.widget.ActionBarOverlayLayout", "visible-to-user": true, "package": "android", "enabled": true, "bounds": [0, 0, 1440, 2392], "pressed": "not_pressed", "scrollable-vertical": false}], "adapter-view": false, "abs-pos": true, "pointer": "49d5ca0", "class": "com.android.internal.policy.PhoneWindow$DecorView", "visible-to-user": true}, "added_fragments": [], "active_fragments": []}, "is_keyboard_deployed": false, "request_id": "488"}
{"ancestors": ["android.widget.FrameLayout", "android.view.ViewGroup", "android.view.View", "java.lang.Object"], "class": "com.android.internal.policy.PhoneWindow$DecorView", "bounds": [0, 0, 1440, 2392], "clickable": false, "children": [{"resource-id": "android:id/action_bar_container", "children": [{"text": "Cancel", "resource-id": "com.android.gallery3d:id/action_cancel", "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "clickable": true, "class": "com.android.internal.view.menu.ActionMenuItemView", "bounds": [1225, 84, 1440, 252], "componentLabel": "Text Button", "textButtonClass": "back"}, {"iconClass": "arrow_backward", "ancestors": ["android.view.View", "java.lang.Object"], "resource-id": "android:id/up", "clickable": false, "class": "android.widget.ImageView", "bounds": [0, 140, 56, 196], "componentLabel": "Icon"}, {"iconClass": "wallpaper", "ancestors": ["android.view.View", "java.lang.Object"], "resource-id": "android:id/home", "clickable": false, "class": "android.widget.ImageView", "bounds": [43, 112, 155, 224], "componentLabel": "Icon"}], "ancestors": ["android.widget.FrameLayout", "android.view.ViewGroup", "android.view.View", "java.lang.Object"], "clickable": false, "class": "com.android.internal.widget.ActionBarContainer", "bounds": [0, 84, 1440, 252], "componentLabel": "Toolbar"}]}