press cancel item swipe to the cancel item select the cancel at the bottom right corner click checkbox below the foot
{"activity_name": "com.peha.mapdistancemeter/com.peha.mapdistancemeter.SetPreferencesActivity", "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": [36, 474, 1404, 2002], "visibility": "visible", "content-desc": [null], "rel-bounds": [0, 0, 1368, 1528], "focused": false, "selected": false, "scrollable-vertical": false, "children": [{"scrollable-horizontal": false, "draw": true, "ancestors": ["android.view.ViewGroup", "android.view.View", "java.lang.Object"], "clickable": false, "pressed": "not_pressed", "focusable": false, "long-clickable": false, "enabled": true, "bounds": [92, 530, 1348, 1946], "visibility": "visible", "content-desc": [null], "rel-bounds": [56, 56, 1312, 1472], "focused": false, "selected": false, "scrollable-vertical": false, "children": [{"resource-id": "android:id/content", "adapter-view": false, "pointer": "5339f65", "children": [{"resource-id": "android:id/parentPanel", "adapter-view": false, "pointer": "ea9d43a", "children": [{"resource-id": "android:id/topPanel", "adapter-view": false, "pointer": "bd538eb", "children": [{"resource-id": "android:id/title_template", "adapter-view": false, "pointer": "1e30648", "children": [{"resource-id": "android:id/icon", "adapter-view": false, "pointer": "d43cce1", "scrollable-horizontal": false, "ancestors": ["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": "android.widget.ImageView", "visible-to-user": false, "package": "android", "enabled": true, "bounds": [92, 530, 92, 530], "pressed": "not_pressed", "scrollable-vertical": false}, {"text": "Distance unit", "resource-id": "android:id/alertTitle", "adapter-view": false, "pointer": "550fa06", "scrollable-horizontal": false, "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [84, 63, 1172, 156], "draw": false, "focusable": false, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": false, "abs-pos": true, "font-family": "sans-serif-medium", "class": "com.android.internal.widget.DialogTitle", "visible-to-user": true, "package": "android", "enabled": true, "bounds": [176, 593, 1264, 686], "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, 1256, 156], "draw": true, "focusable": false, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": false, "abs-pos": true, "class": "android.widget.LinearLayout", "visible-to-user": true, "package": "android", "enabled": true, "bounds": [92, 530, 1348, 686], "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, 1256, 156], "draw": true, "focusable": false, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": false, "abs-pos": true, "class": "android.widget.LinearLayout", "visible-to-user": true, "package": "android", "enabled": true, "bounds": [92, 530, 1348, 686], "pressed": "not_pressed", "scrollable-vertical": false}, {"resource-id": "android:id/contentPanel", "adapter-view": false, "pointer": "64c78c7", "children": [{"resource-id": "android:id/select_dialog_listview", "adapter-view": true, "pointer": "631b32e", "children": [{"text": "Kilometer", "resource-id": "android:id/text1", "adapter-view": false, "pointer": "c463ef4", "scrollable-horizontal": false, "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [0, 28, 1256, 196], "draw": false, "focusable": false, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": false, "abs-pos": true, "font-family": "sans-serif", "class": "android.widget.CheckedTextView", "visible-to-user": true, "package": "android", "enabled": true, "bounds": [92, 714, 1348, 882], "pressed": "not_pressed", "scrollable-vertical": false}, {"text": "Meter", "resource-id": "android:id/text1", "adapter-view": false, "pointer": "5cf561d", "scrollable-horizontal": false, "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [0, 196, 1256, 364], "draw": false, "focusable": false, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": false, "abs-pos": true, "font-family": "sans-serif", "class": "android.widget.CheckedTextView", "visible-to-user": true, "package": "android", "enabled": true, "bounds": [92, 882, 1348, 1050], "pressed": "not_pressed", "scrollable-vertical": false}, {"text": "Mile", "resource-id": "android:id/text1", "adapter-view": false, "pointer": "cf2b092", "scrollable-horizontal": false, "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [0, 364, 1256, 532], "draw": false, "focusable": false, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": false, "abs-pos": true, "font-family": "sans-serif", "class": "android.widget.CheckedTextView", "visible-to-user": true, "package": "android", "enabled": true, "bounds": [92, 1050, 1348, 1218], "pressed": "not_pressed", "scrollable-vertical": false}, {"text": "Nautical Mile", "resource-id": "android:id/text1", "adapter-view": false, "pointer": "80dda63", "scrollable-horizontal": false, "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [0, 532, 1256, 700], "draw": false, "focusable": false, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": false, "abs-pos": true, "font-family": "sans-serif", "class": "android.widget.CheckedTextView", "visible-to-user": true, "package": "android", "enabled": true, "bounds": [92, 1218, 1348, 1386], "pressed": "not_pressed", "scrollable-vertical": false}, {"text": "Yard", "resource-id": "android:id/text1", "adapter-view": false, "pointer": "2025660", "scrollable-horizontal": false, "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [0, 700, 1256, 868], "draw": false, "focusable": false, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": false, "abs-pos": true, "font-family": "sans-serif", "class": "android.widget.CheckedTextView", "visible-to-user": true, "package": "android", "enabled": true, "bounds": [92, 1386, 1348, 1554], "pressed": "not_pressed", "scrollable-vertical": false}, {"text": "Foot", "resource-id": "android:id/text1", "adapter-view": false, "pointer": "f903719", "scrollable-horizontal": false, "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [0, 868, 1256, 1036], "draw": false, "focusable": false, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": false, "abs-pos": true, "font-family": "sans-serif", "class": "android.widget.CheckedTextView", "visible-to-user": true, "package": "android", "enabled": true, "bounds": [92, 1554, 1348, 1722], "pressed": "not_pressed", "scrollable-vertical": false}], "scrollable-horizontal": false, "ancestors": ["android.widget.ListView", "android.widget.AbsListView", "android.widget.AdapterView", "android.view.ViewGroup", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [0, 0, 1256, 1064], "draw": false, "focusable": true, "long-clickable": false, "visibility": "visible", "focused": true, "clickable": true, "abs-pos": true, "class": "com.android.internal.app.AlertController$RecycleListView", "visible-to-user": true, "package": "android", "enabled": true, "bounds": [92, 686, 1348, 1750], "pressed": "not_pressed", "scrollable-vertical": true}], "scrollable-horizontal": false, "ancestors": ["android.view.ViewGroup", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [0, 156, 1256, 1220], "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": [92, 686, 1348, 1750], "pressed": "not_pressed", "scrollable-vertical": false}, {"resource-id": "android:id/customPanel", "adapter-view": false, "pointer": "78743de", "children": [{"resource-id": "android:id/custom", "adapter-view": false, "pointer": "6f9b9bf", "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": "visible", "focused": false, "clickable": false, "abs-pos": true, "class": "android.widget.FrameLayout", "visible-to-user": false, "package": "android", "enabled": true, "bounds": [92, 530, 92, 530], "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, 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": "android", "enabled": true, "bounds": [92, 530, 92, 530], "pressed": "not_pressed", "scrollable-vertical": false}, {"resource-id": "android:id/buttonPanel", "adapter-view": false, "pointer": "7a6788c", "children": [{"text": "", "resource-id": "android:id/button3", "adapter-view": false, "pointer": "2e42bd5", "scrollable-horizontal": false, "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [0, 0, 0, 0], "draw": false, "focusable": true, "long-clickable": false, "visibility": "gone", "focused": false, "clickable": true, "abs-pos": true, "font-family": "sans-serif-medium", "class": "android.widget.Button", "visible-to-user": false, "package": "android", "enabled": true, "bounds": [92, 1750, 92, 1750], "pressed": "not_pressed", "scrollable-vertical": false}, {"resource-id": "android:id/spacer", "adapter-view": false, "pointer": "c3fbfea", "scrollable-horizontal": false, "ancestors": ["android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [42, 182, 943, 182], "draw": false, "focusable": false, "long-clickable": false, "visibility": "invisible", "focused": false, "clickable": false, "abs-pos": true, "class": "android.widget.Space", "visible-to-user": false, "package": "android", "enabled": true, "bounds": [134, 1932, 1035, 1932], "pressed": "not_pressed", "scrollable-vertical": false}, {"text": "Cancel", "resource-id": "android:id/button2", "adapter-view": false, "pointer": "c9a32db", "scrollable-horizontal": false, "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [943, 14, 1214, 182], "draw": false, "focusable": true, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": true, "abs-pos": true, "font-family": "sans-serif-medium", "class": "android.widget.Button", "visible-to-user": true, "package": "android", "enabled": true, "bounds": [1035, 1764, 1306, 1932], "pressed": "not_pressed", "scrollable-vertical": false}, {"text": "", "resource-id": "android:id/button1", "adapter-view": false, "pointer": "9889178", "scrollable-horizontal": false, "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [0, 0, 0, 0], "draw": false, "focusable": true, "long-clickable": false, "visibility": "gone", "focused": false, "clickable": true, "abs-pos": true, "font-family": "sans-serif-medium", "class": "android.widget.Button", "visible-to-user": false, "package": "android", "enabled": true, "bounds": [92, 1750, 92, 1750], "pressed": "not_pressed", "scrollable-vertical": false}], "scrollable-horizontal": false, "ancestors": ["android.widget.LinearLayout", "android.view.ViewGroup", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [0, 1220, 1256, 1416], "draw": true, "focusable": false, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": false, "abs-pos": true, "class": "com.android.internal.widget.ButtonBarLayout", "visible-to-user": true, "package": "android", "enabled": true, "bounds": [92, 1750, 1348, 1946], "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, 1256, 1416], "draw": true, "focusable": false, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": false, "abs-pos": true, "class": "android.widget.LinearLayout", "visible-to-user": true, "package": "android", "enabled": true, "bounds": [92, 530, 1348, 1946], "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, 1256, 1416], "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": [92, 530, 1348, 1946], "pressed": "not_pressed", "scrollable-vertical": false}, {"resource-id": "android:id/action_mode_bar_stub", "adapter-view": false, "pointer": "648b051", "scrollable-horizontal": false, "ancestors": ["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.view.ViewStub", "visible-to-user": false, "package": "android", "enabled": true, "bounds": [92, 530, 92, 530], "pressed": "not_pressed", "scrollable-vertical": false}], "adapter-view": false, "abs-pos": true, "pointer": "324405c", "class": "android.widget.FrameLayout", "visible-to-user": true}], "adapter-view": false, "abs-pos": true, "pointer": "b557ecf", "class": "com.android.internal.policy.PhoneWindow$DecorView", "visible-to-user": true}, "added_fragments": ["1020002"], "active_fragments": ["1020002"]}, "is_keyboard_deployed": false, "request_id": "512"}
{"ancestors": ["android.widget.FrameLayout", "android.view.ViewGroup", "android.view.View", "java.lang.Object"], "class": "com.android.internal.policy.PhoneWindow$DecorView", "bounds": [36, 474, 1404, 2002], "clickable": false, "children": [{"ancestors": ["android.view.ViewGroup", "android.view.View", "java.lang.Object"], "class": "android.widget.FrameLayout", "bounds": [92, 530, 1348, 1946], "clickable": false, "children": [{"resource-id": "android:id/buttonPanel", "children": [{"text": "Cancel", "resource-id": "android:id/button2", "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "clickable": true, "class": "android.widget.Button", "bounds": [1035, 1764, 1306, 1932], "componentLabel": "Text Button", "textButtonClass": "back"}], "ancestors": ["android.widget.LinearLayout", "android.view.ViewGroup", "android.view.View", "java.lang.Object"], "clickable": false, "class": "com.android.internal.widget.ButtonBarLayout", "bounds": [92, 1750, 1348, 1946], "componentLabel": "Button Bar"}, {"text": "Distance unit", "resource-id": "android:id/alertTitle", "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "clickable": false, "class": "com.android.internal.widget.DialogTitle", "bounds": [176, 593, 1264, 686], "componentLabel": "Text"}, {"text": "Kilometer", "resource-id": "android:id/text1", "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "clickable": false, "class": "android.widget.CheckedTextView", "bounds": [92, 714, 1348, 882], "componentLabel": "Text"}, {"text": "Meter", "resource-id": "android:id/text1", "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "clickable": false, "class": "android.widget.CheckedTextView", "bounds": [92, 882, 1348, 1050], "componentLabel": "Text"}, {"text": "Mile", "resource-id": "android:id/text1", "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "clickable": false, "class": "android.widget.CheckedTextView", "bounds": [92, 1050, 1348, 1218], "componentLabel": "Text"}, {"text": "Nautical Mile", "resource-id": "android:id/text1", "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "clickable": false, "class": "android.widget.CheckedTextView", "bounds": [92, 1218, 1348, 1386], "componentLabel": "Text"}, {"text": "Yard", "resource-id": "android:id/text1", "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "clickable": false, "class": "android.widget.CheckedTextView", "bounds": [92, 1386, 1348, 1554], "componentLabel": "Text"}, {"text": "Foot", "resource-id": "android:id/text1", "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "clickable": false, "class": "android.widget.CheckedTextView", "bounds": [92, 1554, 1348, 1722], "componentLabel": "Text"}], "componentLabel": "Modal"}]}