turn on item below import java util click the item to the left of the = open button next to =
{"activity_name": "com.sololearn.java/com.sololearn.app.MainActivity", "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, 2560], "visibility": "visible", "content-desc": [null], "rel-bounds": [0, 0, 1440, 2560], "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": [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/action_mode_bar_stub", "adapter-view": false, "pointer": "c89ca03", "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": [0, 0, 0, 0], "pressed": "not_pressed", "scrollable-vertical": false}, {"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": [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": "com.sololearn.java:id/action_bar_root", "adapter-view": false, "pointer": "6309b56", "children": [{"resource-id": "com.sololearn.java:id/action_mode_bar_stub", "adapter-view": false, "pointer": "38a1d80", "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.support.v7.widget.ViewStubCompat", "visible-to-user": false, "package": "com.sololearn.java", "enabled": true, "bounds": [0, 0, 0, 0], "pressed": "not_pressed", "scrollable-vertical": false}, {"resource-id": "android:id/content", "adapter-view": false, "pointer": "de576fb", "children": [{"resource-id": "com.sololearn.java:id/drawer_layout", "adapter-view": false, "pointer": "21d602c", "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": [0, 84, 1440, 2392], "visibility": "visible", "content-desc": [null], "rel-bounds": [0, 84, 1440, 2392], "focused": false, "selected": false, "scrollable-vertical": false, "children": [{"resource-id": "com.sololearn.java:id/container", "adapter-view": false, "pointer": "7cbbfb9", "children": [{"resource-id": "com.sololearn.java:id/editor_container", "adapter-view": false, "pointer": "4ca1230", "children": [{"text": "import java.util.Scanner;\nimport java.util.Random;\n\n/**********************************************\nSimple game made by Frekvens1\n- Self explaining code\n\nWritten 19.07.2016 (DDMMYYYY)\n**********************************************/\n\npublic class Program {\n    /*\n        Valid user input: \n        rock, paper, scissors\n    */\n    public static void main(String[] args) {\n        \n            try {\n                Scanner sc = \n                new Scanner(System.in);\n                \n                String userInput =   \n                sc.next();                      \n                if (isValid( userInput )) {\n                    game( userInput );\n                    \n                } else {\n                   print(\"Invalid user input!\\nWrite rock, paper or scissors!\");\n                }\n            } catch (Exception e) {\n                e.printStackTrace();\n            }\n    }\n    \n    public static void print(String text) {\n       System.out.println( text );\n    }\n    \n    public static boolean isValid(String input) {\n        \n        if (input.equalsIgnoreCase(\"rock\")) {\n           return true; \n        } \n        \n        if (input.equalsIgnoreCase(\"paper\")) {\n           return true; \n        }\n        \n         if (input.equalsIgnoreCase(\"scissors\")) {                             \n             return true; \n         }\n        \n        return false;\n    }\n    \n    public static void game(String user) {\n        String computer = computerResults();\n        \n        print( user + \" vs \" + computer + \"\\n\");\n        \n        if (user.equalsIgnoreCase(computer)) {\n            print(\"Stalemate! No winners.\");\n        } else {\n        \n            if (checkWin(user, computer)) {\n               print(\"You won against the computer!\");\n            } else {\n               print(\"You lost against the computer!\");\n            }\n        }\n    }\n    \n    public static String computerResults() {\n        \n        String types[] = \n        {\"rock\", \"paper\", \"scissors\"};\n        \n        Random rand = new Random(); \n        int computerChoice = rand.nextInt(3);;\n        \n        return types[computerChoice];\n    }\n    \n    public static boolean checkWin(String user, String opponent) {\n        \n        if ( (!isValid( user )) && (!isValid( opponent )) ) {\n            return false;\n        }\n        \n        String rock = \"rock\", paper = \"paper\", scissors = \"scissors\";\n        \n        if ( (user.equalsIgnoreCase( rock )) && (opponent.equalsIgnoreCase( scissors )) ) {\n           return true; \n        }\n        \n         if ( (user.equalsIgnoreCase( scissors)) && (opponent.equalsIgnoreCase( paper )) ) {\n           return true; \n        }\n        \n         if ( (user.equalsIgnoreCase( paper )) && (opponent.equalsIgnoreCase( rock  )) ) {\n           return true; \n        }\n        \n        return false; \n        //If no possible win, assume loss.\n    }\n}", "resource-id": "com.sololearn.java:id/code_editor", "adapter-view": false, "pointer": "ccf2efc", "scrollable-horizontal": true, "ancestors": ["android.support.v7.widget.AppCompatEditText", "android.widget.EditText", "android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [0, 270, 1440, 1937], "draw": false, "focusable": true, "long-clickable": true, "visibility": "visible", "focused": false, "clickable": true, "abs-pos": true, "font-family": "monospace", "class": "com.sololearn.app.views.playground.AdvancedEditText", "visible-to-user": true, "package": "com.sololearn.java", "enabled": true, "bounds": [0, 550, 1440, 2217], "pressed": "not_pressed", "scrollable-vertical": true}, {"resource-id": "com.sololearn.java:id/code_bar", "adapter-view": false, "pointer": "cb48ea9", "children": [{"resource-id": "com.sololearn.java:id/code_avatar", "adapter-view": false, "pointer": "c0e6c2e", "scrollable-horizontal": false, "ancestors": ["android.widget.ImageView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [35, 35, 158, 158], "draw": false, "focusable": false, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": true, "abs-pos": true, "class": "com.sololearn.app.views.CircleImageView", "visible-to-user": true, "package": "com.sololearn.java", "enabled": true, "bounds": [35, 315, 158, 438], "pressed": "not_pressed", "scrollable-vertical": false}, {"text": "Simple rock, paper, scissors game", "resource-id": "com.sololearn.java:id/code_name", "adapter-view": false, "pointer": "ae43cf", "scrollable-horizontal": false, "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [193, 35, 933, 101], "draw": false, "focusable": false, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": false, "abs-pos": true, "font-family": "sans-serif", "class": "android.support.v7.widget.AppCompatTextView", "visible-to-user": true, "package": "com.sololearn.java", "enabled": true, "bounds": [193, 315, 933, 381], "pressed": "not_pressed", "scrollable-vertical": false}, {"text": "java", "resource-id": "com.sololearn.java:id/code_language_icon", "adapter-view": false, "pointer": "3f6215c", "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": false, "long-clickable": false, "visibility": "gone", "focused": false, "clickable": false, "abs-pos": true, "font-family": "sans-serif", "class": "android.support.v7.widget.AppCompatTextView", "visible-to-user": false, "package": "com.sololearn.java", "enabled": true, "bounds": [0, 280, 0, 280], "pressed": "not_pressed", "scrollable-vertical": false}, {"text": "Thomas Alme", "resource-id": "com.sololearn.java:id/code_user", "adapter-view": false, "pointer": "71e6c65", "scrollable-horizontal": false, "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [193, 105, 453, 162], "draw": false, "focusable": false, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": false, "abs-pos": true, "font-family": "sans-serif", "class": "android.support.v7.widget.AppCompatTextView", "visible-to-user": true, "package": "com.sololearn.java", "enabled": true, "bounds": [193, 385, 453, 442], "pressed": "not_pressed", "scrollable-vertical": false}, {"resource-id": "com.sololearn.java:id/votes_parent", "adapter-view": false, "pointer": "8191d3a", "children": [{"resource-id": "com.sololearn.java:id/vote_up", "adapter-view": false, "pointer": "e754deb", "scrollable-horizontal": false, "ancestors": ["android.widget.ImageButton", "android.widget.ImageView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [0, 0, 123, 66], "draw": false, "focusable": true, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": true, "abs-pos": true, "class": "android.support.v7.widget.AppCompatImageButton", "visible-to-user": true, "package": "com.sololearn.java", "enabled": true, "bounds": [166, 456, 289, 522], "pressed": "not_pressed", "scrollable-vertical": false}, {"text": "+1122", "resource-id": "com.sololearn.java:id/vote_number", "adapter-view": false, "pointer": "471f748", "scrollable-horizontal": false, "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [130, 0, 270, 66], "draw": false, "focusable": false, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": false, "abs-pos": true, "font-family": "sans-serif", "class": "android.support.v7.widget.AppCompatTextView", "visible-to-user": true, "package": "com.sololearn.java", "enabled": true, "bounds": [296, 456, 436, 522], "pressed": "not_pressed", "scrollable-vertical": false}, {"resource-id": "com.sololearn.java:id/vote_down", "adapter-view": false, "pointer": "78e69e1", "scrollable-horizontal": false, "ancestors": ["android.widget.ImageButton", "android.widget.ImageView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [277, 0, 400, 66], "draw": false, "focusable": true, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": true, "abs-pos": true, "class": "android.support.v7.widget.AppCompatImageButton", "visible-to-user": true, "package": "com.sololearn.java", "enabled": true, "bounds": [443, 456, 566, 522], "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": [166, 176, 566, 270], "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": "com.sololearn.java", "enabled": true, "bounds": [166, 456, 566, 550], "pressed": "not_pressed", "scrollable-vertical": false}, {"text": "Public:", "resource-id": "com.sololearn.java:id/public_switch", "adapter-view": false, "pointer": "ebd306", "scrollable-horizontal": false, "ancestors": ["android.widget.CompoundButton", "android.widget.Button", "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", "class": "android.support.v7.widget.SwitchCompat", "visible-to-user": false, "package": "com.sololearn.java", "enabled": true, "bounds": [0, 280, 0, 280], "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, 270], "draw": true, "focusable": true, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": true, "abs-pos": true, "class": "android.widget.RelativeLayout", "visible-to-user": true, "package": "com.sololearn.java", "enabled": true, "bounds": [0, 280, 1440, 550], "pressed": "not_pressed", "scrollable-vertical": false}, {"resource-id": "com.sololearn.java:id/parent_accessory_view", "adapter-view": false, "pointer": "b58ddc7", "children": [{"resource-id": "com.sololearn.java:id/accessoryView", "adapter-view": false, "pointer": "7533ff4", "children": [{"text": "Tab", "scrollable-vertical": false, "adapter-view": false, "pointer": "6a6c31d", "scrollable-horizontal": false, "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [0, 4, 175, 179], "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, "enabled": true, "bounds": [0, 2221, 175, 2392], "pressed": "not_pressed"}, {"text": "{", "scrollable-vertical": false, "adapter-view": false, "pointer": "9e21992", "scrollable-horizontal": false, "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [175, 0, 350, 175], "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, "enabled": true, "bounds": [175, 2217, 350, 2392], "pressed": "not_pressed"}, {"text": "}", "scrollable-vertical": false, "adapter-view": false, "pointer": "1fb8f63", "scrollable-horizontal": false, "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [350, 0, 525, 175], "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, "enabled": true, "bounds": [350, 2217, 525, 2392], "pressed": "not_pressed"}, {"text": ";", "scrollable-vertical": false, "adapter-view": false, "pointer": "75e6760", "scrollable-horizontal": false, "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [525, 0, 700, 175], "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, "enabled": true, "bounds": [525, 2217, 700, 2392], "pressed": "not_pressed"}, {"text": "\"", "scrollable-vertical": false, "adapter-view": false, "pointer": "af17419", "scrollable-horizontal": false, "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [700, 0, 875, 175], "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, "enabled": true, "bounds": [700, 2217, 875, 2392], "pressed": "not_pressed"}, {"text": "=", "scrollable-vertical": false, "adapter-view": false, "pointer": "e843cde", "scrollable-horizontal": false, "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [875, 0, 1050, 175], "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, "enabled": true, "bounds": [875, 2217, 1050, 2392], "pressed": "not_pressed"}, {"text": "(", "scrollable-vertical": false, "adapter-view": false, "pointer": "a8dbebf", "scrollable-horizontal": false, "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [1050, 0, 1225, 175], "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, "enabled": true, "bounds": [1050, 2217, 1205, 2392], "pressed": "not_pressed"}, {"text": ")", "scrollable-vertical": false, "adapter-view": false, "pointer": "532998c", "scrollable-horizontal": false, "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [1225, 0, 1400, 175], "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": false, "enabled": true, "bounds": [1225, 2217, 1205, 2392], "pressed": "not_pressed"}, {"text": "[", "scrollable-vertical": false, "adapter-view": false, "pointer": "f9c38d5", "scrollable-horizontal": false, "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [1400, 0, 1575, 175], "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": false, "enabled": true, "bounds": [1400, 2217, 1205, 2392], "pressed": "not_pressed"}, {"text": "]", "scrollable-vertical": false, "adapter-view": false, "pointer": "89348ea", "scrollable-horizontal": false, "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [1575, 0, 1750, 175], "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": false, "enabled": true, "bounds": [1575, 2217, 1205, 2392], "pressed": "not_pressed"}, {"text": "<", "scrollable-vertical": false, "adapter-view": false, "pointer": "5e987db", "scrollable-horizontal": false, "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [1750, 0, 1925, 175], "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": false, "enabled": true, "bounds": [1750, 2217, 1205, 2392], "pressed": "not_pressed"}, {"text": ">", "scrollable-vertical": false, "adapter-view": false, "pointer": "a35c278", "scrollable-horizontal": false, "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [1925, 0, 2100, 175], "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": false, "enabled": true, "bounds": [1925, 2217, 1205, 2392], "pressed": "not_pressed"}, {"text": ".", "scrollable-vertical": false, "adapter-view": false, "pointer": "af48d51", "scrollable-horizontal": false, "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [2100, 0, 2275, 175], "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": false, "enabled": true, "bounds": [2100, 2217, 1205, 2392], "pressed": "not_pressed"}, {"text": "&", "scrollable-vertical": false, "adapter-view": false, "pointer": "ad509b6", "scrollable-horizontal": false, "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [2275, 0, 2450, 175], "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": false, "enabled": true, "bounds": [2275, 2217, 1205, 2392], "pressed": "not_pressed"}, {"text": "|", "scrollable-vertical": false, "adapter-view": false, "pointer": "e6ec6b7", "scrollable-horizontal": false, "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [2450, 0, 2625, 175], "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": false, "enabled": true, "bounds": [2450, 2217, 1205, 2392], "pressed": "not_pressed"}, {"text": "!", "scrollable-vertical": false, "adapter-view": false, "pointer": "e408e24", "scrollable-horizontal": false, "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [2625, 0, 2800, 175], "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": false, "enabled": true, "bounds": [2625, 2217, 1205, 2392], "pressed": "not_pressed"}, {"text": "+", "scrollable-vertical": false, "adapter-view": false, "pointer": "a3ad8d", "scrollable-horizontal": false, "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [2800, 0, 2975, 175], "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": false, "enabled": true, "bounds": [2800, 2217, 1205, 2392], "pressed": "not_pressed"}, {"text": "-", "scrollable-vertical": false, "adapter-view": false, "pointer": "ca00b42", "scrollable-horizontal": false, "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [2975, 0, 3150, 175], "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": false, "enabled": true, "bounds": [2975, 2217, 1205, 2392], "pressed": "not_pressed"}, {"text": "*", "scrollable-vertical": false, "adapter-view": false, "pointer": "a9f1753", "scrollable-horizontal": false, "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [3150, 0, 3325, 175], "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": false, "enabled": true, "bounds": [3150, 2217, 1205, 2392], "pressed": "not_pressed"}, {"text": "/", "scrollable-vertical": false, "adapter-view": false, "pointer": "c0a6890", "scrollable-horizontal": false, "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [3325, 0, 3500, 175], "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": false, "enabled": true, "bounds": [3325, 2217, 1205, 2392], "pressed": "not_pressed"}, {"text": "%", "scrollable-vertical": false, "adapter-view": false, "pointer": "baa9589", "scrollable-horizontal": false, "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [3500, 0, 3675, 175], "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": false, "enabled": true, "bounds": [3500, 2217, 1205, 2392], "pressed": "not_pressed"}, {"text": ":", "scrollable-vertical": false, "adapter-view": false, "pointer": "227998e", "scrollable-horizontal": false, "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [3675, 0, 3850, 175], "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": false, "enabled": true, "bounds": [3675, 2217, 1205, 2392], "pressed": "not_pressed"}, {"text": ",", "scrollable-vertical": false, "adapter-view": false, "pointer": "d79d5af", "scrollable-horizontal": false, "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [3850, 0, 4025, 175], "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": false, "enabled": true, "bounds": [3850, 2217, 1205, 2392], "pressed": "not_pressed"}, {"text": "_", "scrollable-vertical": false, "adapter-view": false, "pointer": "557dbc", "scrollable-horizontal": false, "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [4025, 0, 4200, 175], "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": false, "enabled": true, "bounds": [4025, 2217, 1205, 2392], "pressed": "not_pressed"}, {"text": "@", "scrollable-vertical": false, "adapter-view": false, "pointer": "c1e0145", "scrollable-horizontal": false, "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [4200, 0, 4375, 175], "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": false, "enabled": true, "bounds": [4200, 2217, 1205, 2392], "pressed": "not_pressed"}, {"text": "?", "scrollable-vertical": false, "adapter-view": false, "pointer": "d87c09a", "scrollable-horizontal": false, "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [4375, 0, 4550, 175], "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": false, "enabled": true, "bounds": [4375, 2217, 1205, 2392], "pressed": "not_pressed"}, {"text": "^", "scrollable-vertical": false, "adapter-view": false, "pointer": "981dcb", "scrollable-horizontal": false, "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [4550, 0, 4725, 175], "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": false, "enabled": true, "bounds": [4550, 2217, 1205, 2392], "pressed": "not_pressed"}, {"text": "'", "scrollable-vertical": false, "adapter-view": false, "pointer": "fdab9a8", "scrollable-horizontal": false, "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [4725, 0, 4900, 175], "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": false, "enabled": true, "bounds": [4725, 2217, 1205, 2392], "pressed": "not_pressed"}, {"text": "#", "scrollable-vertical": false, "adapter-view": false, "pointer": "4a26cc1", "scrollable-horizontal": false, "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [4900, 0, 5075, 175], "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": false, "enabled": true, "bounds": [4900, 2217, 1205, 2392], "pressed": "not_pressed"}], "scrollable-horizontal": false, "ancestors": ["android.widget.LinearLayout", "android.view.ViewGroup", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [0, 0, 5075, 175], "draw": true, "focusable": false, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": false, "abs-pos": true, "class": "com.sololearn.app.views.playground.AccessoryView", "visible-to-user": true, "package": "com.sololearn.java", "enabled": true, "bounds": [0, 2217, 1205, 2392], "pressed": "not_pressed", "scrollable-vertical": false}], "scrollable-horizontal": true, "ancestors": ["android.widget.FrameLayout", "android.view.ViewGroup", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [0, 1937, 1205, 2112], "draw": false, "focusable": true, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": false, "abs-pos": true, "class": "android.widget.HorizontalScrollView", "visible-to-user": true, "package": "com.sololearn.java", "enabled": true, "bounds": [0, 2217, 1205, 2392], "pressed": "not_pressed", "scrollable-vertical": false}, {"resource-id": "com.sololearn.java:id/run_code", "adapter-view": false, "pointer": "4914c66", "children": [{"text": "RUN", "scrollable-vertical": false, "adapter-view": false, "pointer": "408cba7", "scrollable-horizontal": false, "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [28, 54, 126, 120], "draw": false, "focusable": false, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": false, "abs-pos": true, "font-family": "sans-serif", "class": "android.support.v7.widget.AppCompatTextView", "visible-to-user": true, "enabled": true, "bounds": [1233, 2271, 1331, 2337], "pressed": "not_pressed"}, {"scrollable-horizontal": false, "draw": false, "ancestors": ["android.view.View", "java.lang.Object"], "clickable": false, "pressed": "not_pressed", "focusable": false, "long-clickable": false, "enabled": true, "bounds": [1359, 2278, 1412, 2331], "visibility": "visible", "content-desc": [null], "rel-bounds": [154, 61, 207, 114], "focused": false, "selected": false, "scrollable-vertical": false, "adapter-view": false, "abs-pos": true, "pointer": "ff5c854", "class": "com.sololearn.app.views.playground.TriangleView", "visible-to-user": true}], "scrollable-horizontal": false, "ancestors": ["android.view.ViewGroup", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [1205, 1937, 1440, 2112], "draw": true, "focusable": false, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": true, "abs-pos": true, "class": "android.widget.LinearLayout", "visible-to-user": true, "package": "com.sololearn.java", "enabled": true, "bounds": [1205, 2217, 1440, 2392], "pressed": "not_pressed", "scrollable-vertical": false}, {"resource-id": "com.sololearn.java:id/auto_complete_list_view", "adapter-view": true, "pointer": "67283ef", "scrollable-horizontal": false, "ancestors": ["android.widget.AbsListView", "android.widget.AdapterView", "android.view.ViewGroup", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [0, 0, 434, 0], "draw": false, "focusable": true, "long-clickable": false, "visibility": "gone", "focused": false, "clickable": true, "abs-pos": true, "class": "android.widget.ListView", "visible-to-user": false, "package": "com.sololearn.java", "enabled": true, "bounds": [40, 340, 474, 340], "pressed": "not_pressed", "scrollable-vertical": true}, {"resource-id": "com.sololearn.java:id/loading_view", "adapter-view": false, "pointer": "3a813fd", "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": [0, 280, 1440, 2392], "visibility": "visible", "content-desc": [null], "rel-bounds": [0, 0, 1440, 2112], "focused": false, "selected": false, "scrollable-vertical": false, "children": [{"resource-id": "com.sololearn.java:id/loading_view_progressbar", "adapter-view": false, "pointer": "fec7b43", "scrollable-horizontal": false, "ancestors": ["android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [622, 958, 818, 1154], "draw": false, "focusable": false, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": false, "abs-pos": true, "class": "android.widget.ProgressBar", "visible-to-user": false, "package": "com.sololearn.java", "enabled": true, "bounds": [622, 1238, 818, 1434], "pressed": "not_pressed", "scrollable-vertical": false}, {"text": "", "resource-id": "com.sololearn.java:id/loading_view_message", "adapter-view": false, "pointer": "e1115c0", "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": false, "long-clickable": false, "visibility": "gone", "focused": false, "clickable": false, "abs-pos": true, "font-family": "sans-serif", "class": "android.support.v7.widget.AppCompatTextView", "visible-to-user": false, "package": "com.sololearn.java", "enabled": true, "bounds": [0, 280, 0, 280], "pressed": "not_pressed", "scrollable-vertical": false}, {"text": "Try again", "resource-id": "com.sololearn.java:id/loading_view_action", "adapter-view": false, "pointer": "466f2f9", "scrollable-horizontal": false, "ancestors": ["android.widget.Button", "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.support.v7.widget.AppCompatButton", "visible-to-user": false, "package": "com.sololearn.java", "enabled": true, "bounds": [0, 280, 0, 280], "pressed": "not_pressed", "scrollable-vertical": false}], "adapter-view": false, "abs-pos": true, "pointer": "755c8f2", "class": "android.widget.LinearLayout", "visible-to-user": 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, 0, 1440, 2112], "draw": true, "focusable": false, "long-clickable": false, "visibility": "gone", "focused": false, "clickable": false, "abs-pos": true, "class": "com.sololearn.app.views.LoadingView", "visible-to-user": false, "package": "com.sololearn.java", "enabled": true, "bounds": [0, 280, 1440, 2392], "pressed": "not_pressed", "scrollable-vertical": false}, {"resource-id": "com.sololearn.java:id/code_output", "adapter-view": false, "pointer": "373823e", "children": [{"resource-id": "com.sololearn.java:id/crop_content", "adapter-view": false, "pointer": "3d1889f", "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": [0, 2217, 1440, 2217], "visibility": "visible", "content-desc": [null], "rel-bounds": [0, 0, 1440, 0], "focused": false, "selected": false, "scrollable-vertical": false, "children": [{"text": "OUTPUT", "resource-id": "com.sololearn.java:id/output_title", "adapter-view": false, "pointer": "39ac5b5", "scrollable-horizontal": false, "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [0, 0, 1440, 0], "draw": false, "focusable": false, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": false, "abs-pos": true, "font-family": "sans-serif", "class": "android.support.v7.widget.AppCompatTextView", "visible-to-user": false, "package": "com.sololearn.java", "enabled": true, "bounds": [0, 2217, 1440, 2217], "pressed": "not_pressed", "scrollable-vertical": false}, {"resource-id": "com.sololearn.java:id/output_text_scroll", "adapter-view": false, "pointer": "21844a", "children": [{"text": "This code resulted in no output", "resource-id": "com.sololearn.java:id/output_text", "adapter-view": false, "pointer": "fd00fbb", "scrollable-horizontal": false, "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [14, 14, 1426, 80], "draw": false, "focusable": false, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": false, "abs-pos": true, "font-family": "sans-serif", "class": "android.support.v7.widget.AppCompatTextView", "visible-to-user": false, "package": "com.sololearn.java", "enabled": true, "bounds": [14, 2231, 1426, 2217], "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, 0, 1440, 0], "draw": false, "focusable": true, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": false, "abs-pos": true, "class": "android.widget.ScrollView", "visible-to-user": false, "package": "com.sololearn.java", "enabled": true, "bounds": [0, 2217, 1440, 2217], "pressed": "not_pressed", "scrollable-vertical": true}], "adapter-view": false, "abs-pos": true, "pointer": "1d1cdec", "class": "android.widget.LinearLayout", "visible-to-user": false}, {"resource-id": "com.sololearn.java:id/loading_view", "adapter-view": false, "pointer": "603dcd8", "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": [0, 2217, 0, 2217], "visibility": "visible", "content-desc": [null], "rel-bounds": [0, 0, 0, 0], "focused": false, "selected": false, "scrollable-vertical": false, "children": [{"resource-id": "com.sololearn.java:id/loading_view_progressbar", "adapter-view": false, "pointer": "efb9b16", "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": "visible", "focused": false, "clickable": false, "abs-pos": true, "class": "android.widget.ProgressBar", "visible-to-user": false, "package": "com.sololearn.java", "enabled": true, "bounds": [0, 2217, 0, 2217], "pressed": "not_pressed", "scrollable-vertical": false}, {"text": "", "resource-id": "com.sololearn.java:id/loading_view_message", "adapter-view": false, "pointer": "365ec97", "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": false, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": false, "abs-pos": true, "font-family": "sans-serif", "class": "android.support.v7.widget.AppCompatTextView", "visible-to-user": false, "package": "com.sololearn.java", "enabled": true, "bounds": [0, 2217, 0, 2217], "pressed": "not_pressed", "scrollable-vertical": false}, {"text": "Try again", "resource-id": "com.sololearn.java:id/loading_view_action", "adapter-view": false, "pointer": "445ee84", "scrollable-horizontal": false, "ancestors": ["android.widget.Button", "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": "visible", "focused": false, "clickable": true, "abs-pos": true, "font-family": "sans-serif-medium", "class": "android.support.v7.widget.AppCompatButton", "visible-to-user": false, "package": "com.sololearn.java", "enabled": true, "bounds": [0, 2217, 0, 2217], "pressed": "not_pressed", "scrollable-vertical": false}], "adapter-view": false, "abs-pos": true, "pointer": "3ff0831", "class": "android.widget.LinearLayout", "visible-to-user": 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, 0, 0, 0], "draw": true, "focusable": false, "long-clickable": false, "visibility": "gone", "focused": false, "clickable": false, "abs-pos": true, "class": "com.sololearn.app.views.LoadingView", "visible-to-user": false, "package": "com.sololearn.java", "enabled": true, "bounds": [0, 2217, 0, 2217], "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, 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": "com.sololearn.java", "enabled": true, "bounds": [0, 2217, 1440, 2217], "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, 1937, 1440, 1937], "draw": true, "focusable": false, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": false, "abs-pos": true, "class": "com.sololearn.app.views.playground.CodeOutputView", "visible-to-user": false, "package": "com.sololearn.java", "enabled": true, "bounds": [0, 2217, 1440, 2217], "pressed": "not_pressed", "scrollable-vertical": false}, {"text": "Custom Toast", "resource-id": "com.sololearn.java:id/custom_toast", "adapter-view": false, "pointer": "e8af66d", "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": false, "long-clickable": false, "visibility": "gone", "focused": false, "clickable": false, "abs-pos": true, "font-family": "sans-serif", "class": "android.support.v7.widget.AppCompatTextView", "visible-to-user": false, "package": "com.sololearn.java", "enabled": true, "bounds": [0, 280, 0, 280], "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, 2112], "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.sololearn.java", "enabled": true, "bounds": [0, 280, 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, 196, 1440, 2308], "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": "com.sololearn.java", "enabled": true, "bounds": [0, 280, 1440, 2392], "pressed": "not_pressed", "scrollable-vertical": false}, {"resource-id": "com.sololearn.java:id/header_list", "adapter-view": false, "pointer": "dfc0400", "children": [{"resource-id": "com.sololearn.java:id/header_list_view", "adapter-view": true, "pointer": "c913a83", "scrollable-horizontal": false, "ancestors": ["android.widget.AdapterView", "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": true, "abs-pos": true, "class": "com.sololearn.app.views.HorizontalListView", "visible-to-user": false, "package": "com.sololearn.java", "enabled": true, "bounds": [0, 280, 0, 280], "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, 196, 1440, 196], "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": "com.sololearn.java", "enabled": true, "bounds": [0, 280, 1440, 280], "pressed": "not_pressed", "scrollable-vertical": false}, {"resource-id": "com.sololearn.java:id/tabLayout", "adapter-view": false, "pointer": "4e89acf", "children": [{"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": [0, 280, 1440, 280], "visibility": "visible", "content-desc": [null], "rel-bounds": [0, 0, 1440, 0], "focused": false, "selected": false, "scrollable-vertical": false, "adapter-view": false, "abs-pos": true, "pointer": "3efbf2e", "class": "android.support.design.widget.TabLayout$SlidingTabStrip", "visible-to-user": false}], "scrollable-horizontal": false, "ancestors": ["android.widget.HorizontalScrollView", "android.widget.FrameLayout", "android.view.ViewGroup", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [0, 196, 1440, 196], "draw": false, "focusable": true, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": false, "abs-pos": true, "class": "android.support.design.widget.TabLayout", "visible-to-user": false, "package": "com.sololearn.java", "enabled": true, "bounds": [0, 280, 1440, 280], "pressed": "not_pressed", "scrollable-vertical": false}, {"resource-id": "com.sololearn.java:id/header_extra", "adapter-view": false, "pointer": "14f2c5c", "scrollable-horizontal": false, "ancestors": ["android.view.ViewGroup", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [0, 196, 1440, 196], "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": "com.sololearn.java", "enabled": true, "bounds": [0, 280, 1440, 280], "pressed": "not_pressed", "scrollable-vertical": false}, {"resource-id": "com.sololearn.java:id/toolbar_shadow", "adapter-view": false, "pointer": "a5aa4", "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.sololearn.java", "enabled": true, "bounds": [0, 84, 0, 84], "pressed": "not_pressed", "scrollable-vertical": false}, {"resource-id": "com.sololearn.java:id/toolbar", "adapter-view": false, "pointer": "adec00d", "children": [{"scrollable-horizontal": false, "draw": false, "ancestors": ["android.widget.ImageButton", "android.widget.ImageView", "android.view.View", "java.lang.Object"], "clickable": true, "pressed": "not_pressed", "focusable": true, "long-clickable": false, "enabled": true, "bounds": [0, 84, 196, 280], "visibility": "visible", "content-desc": ["Open navigation menu"], "rel-bounds": [0, 0, 196, 196], "focused": false, "selected": false, "scrollable-vertical": false, "adapter-view": false, "abs-pos": true, "pointer": "669ebc2", "class": "android.support.v7.widget.AppCompatImageButton", "visible-to-user": true}, {"scrollable-horizontal": false, "draw": true, "ancestors": ["android.support.v7.widget.LinearLayoutCompat", "android.view.ViewGroup", "android.view.View", "java.lang.Object"], "clickable": false, "pressed": "not_pressed", "focusable": false, "long-clickable": false, "enabled": true, "bounds": [1132, 84, 1440, 280], "visibility": "visible", "content-desc": [null], "rel-bounds": [1132, 0, 1440, 196], "focused": false, "selected": false, "scrollable-vertical": false, "children": [{"text": "", "resource-id": "com.sololearn.java:id/action_share", "adapter-view": false, "pointer": "d8e52a2", "scrollable-horizontal": false, "ancestors": ["android.support.v7.widget.AppCompatTextView", "android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": ["Share"], "rel-bounds": [0, 14, 168, 182], "draw": false, "focusable": true, "long-clickable": true, "visibility": "visible", "focused": false, "clickable": true, "abs-pos": true, "font-family": "sans-serif-medium", "class": "android.support.v7.view.menu.ActionMenuItemView", "visible-to-user": true, "package": "com.sololearn.java", "enabled": true, "bounds": [1132, 98, 1300, 266], "pressed": "not_pressed", "scrollable-vertical": false}, {"scrollable-horizontal": false, "draw": false, "ancestors": ["android.support.v7.widget.AppCompatImageView", "android.widget.ImageView", "android.view.View", "java.lang.Object"], "clickable": true, "pressed": "not_pressed", "focusable": true, "long-clickable": false, "enabled": true, "bounds": [1300, 98, 1440, 266], "visibility": "visible", "content-desc": ["More options"], "rel-bounds": [168, 14, 308, 182], "focused": false, "selected": false, "scrollable-vertical": false, "adapter-view": false, "abs-pos": true, "pointer": "e12bb33", "class": "android.support.v7.widget.ActionMenuPresenter$OverflowMenuButton", "visible-to-user": true}], "adapter-view": false, "abs-pos": true, "pointer": "afaadd3", "class": "android.support.v7.widget.ActionMenuView", "visible-to-user": true}, {"text": "Code Playground", "scrollable-vertical": false, "adapter-view": false, "pointer": "673a186", "scrollable-horizontal": false, "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [210, 51, 747, 144], "draw": false, "focusable": false, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": false, "abs-pos": true, "font-family": "sans-serif-medium", "class": "android.support.v7.widget.AppCompatTextView", "visible-to-user": true, "enabled": true, "bounds": [210, 135, 747, 228], "pressed": "not_pressed"}], "scrollable-horizontal": false, "ancestors": ["android.view.ViewGroup", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [0, 0, 1440, 196], "draw": true, "focusable": false, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": false, "abs-pos": true, "class": "android.support.v7.widget.Toolbar", "visible-to-user": true, "package": "com.sololearn.java", "enabled": true, "bounds": [0, 84, 1440, 280], "pressed": "not_pressed", "scrollable-vertical": false}, {"resource-id": "com.sololearn.java:id/achievement_container", "adapter-view": false, "pointer": "1e47d10", "scrollable-horizontal": false, "ancestors": ["android.view.ViewGroup", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [0, 266, 1440, 606], "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.sololearn.java", "enabled": true, "bounds": [0, 350, 1440, 690], "pressed": "not_pressed", "scrollable-vertical": false}, {"scrollable-horizontal": false, "draw": true, "ancestors": ["android.view.View", "java.lang.Object"], "clickable": false, "pressed": "not_pressed", "focusable": false, "long-clickable": false, "enabled": true, "bounds": [0, 84, 0, 84], "visibility": "gone", "content-desc": [null], "rel-bounds": [0, 0, 0, 0], "focused": false, "selected": false, "scrollable-vertical": false, "adapter-view": false, "abs-pos": true, "pointer": "6c45009", "class": "android.view.SurfaceView", "visible-to-user": false}], "adapter-view": false, "abs-pos": true, "pointer": "585e439", "class": "android.widget.RelativeLayout", "visible-to-user": true}, {"resource-id": "com.sololearn.java:id/navigation_drawer", "adapter-view": false, "pointer": "1ef020e", "children": [{"resource-id": "com.sololearn.java:id/design_navigation_view", "adapter-view": false, "pointer": "a80b924", "children": [{"resource-id": "com.sololearn.java:id/navigation_header_container", "adapter-view": false, "pointer": "a38542f", "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": [0, 0, 0, 630], "visibility": "visible", "content-desc": [null], "rel-bounds": [0, 0, 980, 630], "focused": false, "selected": false, "scrollable-vertical": false, "children": [{"scrollable-horizontal": false, "draw": false, "ancestors": ["android.widget.ImageView", "android.view.View", "java.lang.Object"], "clickable": false, "pressed": "not_pressed", "focusable": false, "long-clickable": false, "enabled": true, "bounds": [0, 0, 0, 630], "visibility": "visible", "content-desc": [null], "rel-bounds": [0, 0, 980, 630], "focused": false, "selected": false, "scrollable-vertical": false, "adapter-view": false, "abs-pos": true, "pointer": "b58e3c5", "class": "android.support.v7.widget.AppCompatImageView", "visible-to-user": false}, {"resource-id": "com.sololearn.java:id/menu_user", "adapter-view": false, "pointer": "99d311a", "children": [{"resource-id": "com.sololearn.java:id/menu_avatar", "adapter-view": false, "pointer": "100044b", "scrollable-horizontal": false, "ancestors": ["android.widget.ImageView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [56, 148, 280, 372], "draw": false, "focusable": false, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": false, "abs-pos": true, "class": "com.sololearn.app.views.CircleImageView", "visible-to-user": false, "package": "com.sololearn.java", "enabled": true, "bounds": [0, 148, -699, 372], "pressed": "not_pressed", "scrollable-vertical": false}, {"text": "App Crawler", "resource-id": "com.sololearn.java:id/menu_name", "adapter-view": false, "pointer": "b52de28", "scrollable-horizontal": false, "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [56, 428, 323, 494], "draw": false, "focusable": false, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": false, "abs-pos": true, "font-family": "sans-serif-medium", "class": "android.support.v7.widget.AppCompatTextView", "visible-to-user": false, "package": "com.sololearn.java", "enabled": true, "bounds": [0, 428, -656, 494], "pressed": "not_pressed", "scrollable-vertical": false}, {"text": "appcrawler3@gmail.com", "resource-id": "com.sololearn.java:id/menu_email", "adapter-view": false, "pointer": "ce8f741", "scrollable-horizontal": false, "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [56, 494, 648, 574], "draw": false, "focusable": false, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": false, "abs-pos": true, "font-family": "sans-serif", "class": "android.support.v7.widget.AppCompatTextView", "visible-to-user": false, "package": "com.sololearn.java", "enabled": true, "bounds": [0, 494, -331, 574], "pressed": "not_pressed", "scrollable-vertical": false}, {"text": "Sign Out", "resource-id": "com.sololearn.java:id/menu_logout", "adapter-view": false, "pointer": "7cd44e6", "scrollable-horizontal": false, "ancestors": ["android.widget.Button", "android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [648, 452, 980, 630], "draw": false, "focusable": true, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": true, "abs-pos": true, "font-family": "sans-serif-medium", "class": "android.support.v7.widget.AppCompatButton", "visible-to-user": false, "package": "com.sololearn.java", "enabled": true, "bounds": [0, 452, 0, 630], "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, 980, 630], "draw": true, "focusable": false, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": true, "abs-pos": true, "class": "android.widget.RelativeLayout", "visible-to-user": false, "package": "com.sololearn.java", "enabled": true, "bounds": [0, 0, 0, 630], "pressed": "not_pressed", "scrollable-vertical": false}, {"text": "Sign In", "resource-id": "com.sololearn.java:id/menu_login", "adapter-view": false, "pointer": "d489a27", "scrollable-horizontal": false, "ancestors": ["android.widget.Button", "android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [672, 452, 980, 630], "draw": false, "focusable": true, "long-clickable": false, "visibility": "gone", "focused": false, "clickable": true, "abs-pos": true, "font-family": "sans-serif-medium", "class": "android.support.v7.widget.AppCompatButton", "visible-to-user": false, "package": "com.sololearn.java", "enabled": true, "bounds": [0, 452, 0, 630], "pressed": "not_pressed", "scrollable-vertical": false}], "adapter-view": false, "abs-pos": true, "pointer": "efc5a3c", "class": "android.widget.FrameLayout", "visible-to-user": false}], "scrollable-horizontal": false, "ancestors": ["android.view.ViewGroup", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [0, 0, 980, 658], "draw": true, "focusable": false, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": false, "abs-pos": true, "class": "android.widget.LinearLayout", "visible-to-user": false, "package": "com.sololearn.java", "enabled": true, "bounds": [0, 0, 0, 658], "pressed": "not_pressed", "scrollable-vertical": false}, {"scrollable-horizontal": false, "draw": false, "ancestors": ["android.support.design.internal.ForegroundLinearLayout", "android.support.v7.widget.LinearLayoutCompat", "android.view.ViewGroup", "android.view.View", "java.lang.Object"], "clickable": true, "pressed": "not_pressed", "focusable": true, "long-clickable": false, "enabled": true, "bounds": [0, 658, 0, 826], "visibility": "visible", "content-desc": [null], "rel-bounds": [0, 658, 980, 826], "focused": false, "selected": false, "scrollable-vertical": false, "children": [{"text": "Home", "resource-id": "com.sololearn.java:id/design_menu_item_text", "adapter-view": false, "pointer": "3fd842b", "scrollable-horizontal": false, "ancestors": ["android.widget.CheckedTextView", "android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [56, 0, 924, 168], "draw": false, "focusable": false, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": false, "abs-pos": true, "font-family": "sans-serif-medium", "class": "android.support.v7.widget.AppCompatCheckedTextView", "visible-to-user": false, "package": "com.sololearn.java", "enabled": true, "bounds": [0, 658, -55, 826], "pressed": "not_pressed", "scrollable-vertical": false}, {"resource-id": "com.sololearn.java:id/design_menu_item_action_area_stub", "adapter-view": false, "pointer": "5789088", "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": "com.sololearn.java", "enabled": true, "bounds": [0, 658, -979, 658], "pressed": "not_pressed", "scrollable-vertical": false}], "adapter-view": false, "abs-pos": true, "pointer": "4e3447a", "class": "android.support.design.internal.NavigationMenuItemView", "visible-to-user": false}, {"scrollable-horizontal": false, "draw": false, "ancestors": ["android.support.design.internal.ForegroundLinearLayout", "android.support.v7.widget.LinearLayoutCompat", "android.view.ViewGroup", "android.view.View", "java.lang.Object"], "clickable": true, "pressed": "not_pressed", "focusable": true, "long-clickable": false, "enabled": true, "bounds": [0, 826, 0, 994], "visibility": "visible", "content-desc": [null], "rel-bounds": [0, 826, 980, 994], "focused": false, "selected": false, "scrollable-vertical": false, "children": [{"text": "Code Playground", "resource-id": "com.sololearn.java:id/design_menu_item_text", "adapter-view": false, "pointer": "b3ff274", "scrollable-horizontal": false, "ancestors": ["android.widget.CheckedTextView", "android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [56, 0, 924, 168], "draw": false, "focusable": false, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": false, "abs-pos": true, "font-family": "sans-serif-medium", "class": "android.support.v7.widget.AppCompatCheckedTextView", "visible-to-user": false, "package": "com.sololearn.java", "enabled": true, "bounds": [0, 826, -55, 994], "pressed": "not_pressed", "scrollable-vertical": false}, {"resource-id": "com.sololearn.java:id/design_menu_item_action_area_stub", "adapter-view": false, "pointer": "fd1c39d", "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": "com.sololearn.java", "enabled": true, "bounds": [0, 826, -979, 826], "pressed": "not_pressed", "scrollable-vertical": false}], "adapter-view": false, "abs-pos": true, "pointer": "e16ca47", "class": "android.support.design.internal.NavigationMenuItemView", "visible-to-user": false}, {"scrollable-horizontal": false, "draw": false, "ancestors": ["android.support.design.internal.ForegroundLinearLayout", "android.support.v7.widget.LinearLayoutCompat", "android.view.ViewGroup", "android.view.View", "java.lang.Object"], "clickable": true, "pressed": "not_pressed", "focusable": true, "long-clickable": false, "enabled": true, "bounds": [0, 994, 0, 1162], "visibility": "visible", "content-desc": [null], "rel-bounds": [0, 994, 980, 1162], "focused": false, "selected": false, "scrollable-vertical": false, "children": [{"text": "Q&A Discussions", "resource-id": "com.sololearn.java:id/design_menu_item_text", "adapter-view": false, "pointer": "3ebc3e3", "scrollable-horizontal": false, "ancestors": ["android.widget.CheckedTextView", "android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [56, 0, 924, 168], "draw": false, "focusable": false, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": false, "abs-pos": true, "font-family": "sans-serif-medium", "class": "android.support.v7.widget.AppCompatCheckedTextView", "visible-to-user": false, "package": "com.sololearn.java", "enabled": true, "bounds": [0, 994, -55, 1162], "pressed": "not_pressed", "scrollable-vertical": false}, {"resource-id": "com.sololearn.java:id/design_menu_item_action_area_stub", "adapter-view": false, "pointer": "5a3c1e0", "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": "com.sololearn.java", "enabled": true, "bounds": [0, 994, -979, 994], "pressed": "not_pressed", "scrollable-vertical": false}], "adapter-view": false, "abs-pos": true, "pointer": "e585012", "class": "android.support.design.internal.NavigationMenuItemView", "visible-to-user": false}, {"scrollable-horizontal": false, "draw": false, "ancestors": ["android.support.design.internal.ForegroundLinearLayout", "android.support.v7.widget.LinearLayoutCompat", "android.view.ViewGroup", "android.view.View", "java.lang.Object"], "clickable": true, "pressed": "not_pressed", "focusable": true, "long-clickable": false, "enabled": true, "bounds": [0, 1162, 0, 1330], "visibility": "visible", "content-desc": [null], "rel-bounds": [0, 1162, 980, 1330], "focused": false, "selected": false, "scrollable-vertical": false, "children": [{"text": "Leaderboard", "resource-id": "com.sololearn.java:id/design_menu_item_text", "adapter-view": false, "pointer": "6675b5e", "scrollable-horizontal": false, "ancestors": ["android.widget.CheckedTextView", "android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [56, 0, 924, 168], "draw": false, "focusable": false, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": false, "abs-pos": true, "font-family": "sans-serif-medium", "class": "android.support.v7.widget.AppCompatCheckedTextView", "visible-to-user": false, "package": "com.sololearn.java", "enabled": true, "bounds": [0, 1162, -55, 1330], "pressed": "not_pressed", "scrollable-vertical": false}, {"resource-id": "com.sololearn.java:id/design_menu_item_action_area_stub", "adapter-view": false, "pointer": "8cbb3f", "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": "com.sololearn.java", "enabled": true, "bounds": [0, 1162, -979, 1162], "pressed": "not_pressed", "scrollable-vertical": false}], "adapter-view": false, "abs-pos": true, "pointer": "f0bfc99", "class": "android.support.design.internal.NavigationMenuItemView", "visible-to-user": false}, {"scrollable-horizontal": false, "draw": false, "ancestors": ["android.support.design.internal.ForegroundLinearLayout", "android.support.v7.widget.LinearLayoutCompat", "android.view.ViewGroup", "android.view.View", "java.lang.Object"], "clickable": true, "pressed": "not_pressed", "focusable": true, "long-clickable": false, "enabled": true, "bounds": [0, 1330, 0, 1498], "visibility": "visible", "content-desc": [null], "rel-bounds": [0, 1330, 980, 1498], "focused": false, "selected": false, "scrollable-vertical": false, "children": [{"text": "Similar Courses", "resource-id": "com.sololearn.java:id/design_menu_item_text", "adapter-view": false, "pointer": "216c955", "scrollable-horizontal": false, "ancestors": ["android.widget.CheckedTextView", "android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [56, 0, 924, 168], "draw": false, "focusable": false, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": false, "abs-pos": true, "font-family": "sans-serif-medium", "class": "android.support.v7.widget.AppCompatCheckedTextView", "visible-to-user": false, "package": "com.sololearn.java", "enabled": true, "bounds": [0, 1330, -55, 1498], "pressed": "not_pressed", "scrollable-vertical": false}, {"resource-id": "com.sololearn.java:id/design_menu_item_action_area_stub", "adapter-view": false, "pointer": "1c9cf6a", "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": "com.sololearn.java", "enabled": true, "bounds": [0, 1330, -979, 1330], "pressed": "not_pressed", "scrollable-vertical": false}], "adapter-view": false, "abs-pos": true, "pointer": "eb31c0c", "class": "android.support.design.internal.NavigationMenuItemView", "visible-to-user": false}, {"scrollable-horizontal": false, "draw": false, "ancestors": ["android.support.design.internal.ForegroundLinearLayout", "android.support.v7.widget.LinearLayoutCompat", "android.view.ViewGroup", "android.view.View", "java.lang.Object"], "clickable": true, "pressed": "not_pressed", "focusable": true, "long-clickable": false, "enabled": true, "bounds": [0, 1498, 0, 1666], "visibility": "visible", "content-desc": [null], "rel-bounds": [0, 1498, 980, 1666], "focused": false, "selected": false, "scrollable-vertical": false, "children": [{"text": "Glossary", "resource-id": "com.sololearn.java:id/design_menu_item_text", "adapter-view": false, "pointer": "1189285", "scrollable-horizontal": false, "ancestors": ["android.widget.CheckedTextView", "android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [56, 0, 924, 168], "draw": false, "focusable": false, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": false, "abs-pos": true, "font-family": "sans-serif-medium", "class": "android.support.v7.widget.AppCompatCheckedTextView", "visible-to-user": false, "package": "com.sololearn.java", "enabled": true, "bounds": [0, 1498, -55, 1666], "pressed": "not_pressed", "scrollable-vertical": false}, {"resource-id": "com.sololearn.java:id/design_menu_item_action_area_stub", "adapter-view": false, "pointer": "bf918da", "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": "com.sololearn.java", "enabled": true, "bounds": [0, 1498, -979, 1498], "pressed": "not_pressed", "scrollable-vertical": false}], "adapter-view": false, "abs-pos": true, "pointer": "1c68bfc", "class": "android.support.design.internal.NavigationMenuItemView", "visible-to-user": false}, {"scrollable-horizontal": false, "draw": false, "ancestors": ["android.support.design.internal.ForegroundLinearLayout", "android.support.v7.widget.LinearLayoutCompat", "android.view.ViewGroup", "android.view.View", "java.lang.Object"], "clickable": true, "pressed": "not_pressed", "focusable": true, "long-clickable": false, "enabled": true, "bounds": [0, 1666, 0, 1834], "visibility": "visible", "content-desc": [null], "rel-bounds": [0, 1666, 980, 1834], "focused": false, "selected": false, "scrollable-vertical": false, "children": [{"text": "Invite Friends", "resource-id": "com.sololearn.java:id/design_menu_item_text", "adapter-view": false, "pointer": "3ee6be8", "scrollable-horizontal": false, "ancestors": ["android.widget.CheckedTextView", "android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [56, 0, 924, 168], "draw": false, "focusable": false, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": false, "abs-pos": true, "font-family": "sans-serif-medium", "class": "android.support.v7.widget.AppCompatCheckedTextView", "visible-to-user": false, "package": "com.sololearn.java", "enabled": true, "bounds": [0, 1666, -55, 1834], "pressed": "not_pressed", "scrollable-vertical": false}, {"resource-id": "com.sololearn.java:id/design_menu_item_action_area_stub", "adapter-view": false, "pointer": "ed4d201", "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": "com.sololearn.java", "enabled": true, "bounds": [0, 1666, -979, 1666], "pressed": "not_pressed", "scrollable-vertical": false}], "adapter-view": false, "abs-pos": true, "pointer": "13e310b", "class": "android.support.design.internal.NavigationMenuItemView", "visible-to-user": false}, {"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": [0, 1834, 0, 1894], "visibility": "visible", "content-desc": [null], "rel-bounds": [0, 1834, 980, 1894], "focused": false, "selected": false, "scrollable-vertical": false, "children": [{"scrollable-horizontal": false, "draw": false, "ancestors": ["java.lang.Object"], "clickable": false, "pressed": "not_pressed", "focusable": false, "long-clickable": false, "enabled": true, "bounds": [0, 1862, 0, 1866], "visibility": "visible", "content-desc": [null], "rel-bounds": [0, 28, 980, 32], "focused": false, "selected": false, "scrollable-vertical": false, "adapter-view": false, "abs-pos": true, "pointer": "2489f6e", "class": "android.view.View", "visible-to-user": false}], "adapter-view": false, "abs-pos": true, "pointer": "7f686e9", "class": "android.widget.FrameLayout", "visible-to-user": false}, {"scrollable-horizontal": false, "draw": false, "ancestors": ["android.support.design.internal.ForegroundLinearLayout", "android.support.v7.widget.LinearLayoutCompat", "android.view.ViewGroup", "android.view.View", "java.lang.Object"], "clickable": true, "pressed": "not_pressed", "focusable": true, "long-clickable": false, "enabled": true, "bounds": [0, 1894, 0, 2062], "visibility": "visible", "content-desc": [null], "rel-bounds": [0, 1894, 980, 2062], "focused": false, "selected": false, "scrollable-vertical": false, "children": [{"text": "Settings", "resource-id": "com.sololearn.java:id/design_menu_item_text", "adapter-view": false, "pointer": "61cd2e7", "scrollable-horizontal": false, "ancestors": ["android.widget.CheckedTextView", "android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [56, 0, 924, 168], "draw": false, "focusable": false, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": false, "abs-pos": true, "font-family": "sans-serif-medium", "class": "android.support.v7.widget.AppCompatCheckedTextView", "visible-to-user": false, "package": "com.sololearn.java", "enabled": true, "bounds": [0, 1894, -55, 2062], "pressed": "not_pressed", "scrollable-vertical": false}, {"resource-id": "com.sololearn.java:id/design_menu_item_action_area_stub", "adapter-view": false, "pointer": "8325e94", "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": "com.sololearn.java", "enabled": true, "bounds": [0, 1894, -979, 1894], "pressed": "not_pressed", "scrollable-vertical": false}], "adapter-view": false, "abs-pos": true, "pointer": "65fe8a6", "class": "android.support.design.internal.NavigationMenuItemView", "visible-to-user": false}, {"scrollable-horizontal": false, "draw": false, "ancestors": ["android.support.design.internal.ForegroundLinearLayout", "android.support.v7.widget.LinearLayoutCompat", "android.view.ViewGroup", "android.view.View", "java.lang.Object"], "clickable": true, "pressed": "not_pressed", "focusable": true, "long-clickable": false, "enabled": true, "bounds": [0, 2062, 0, 2230], "visibility": "visible", "content-desc": [null], "rel-bounds": [0, 2062, 980, 2230], "focused": false, "selected": false, "scrollable-vertical": false, "children": [{"text": "Rate", "resource-id": "com.sololearn.java:id/design_menu_item_text", "adapter-view": false, "pointer": "f11e932", "scrollable-horizontal": false, "ancestors": ["android.widget.CheckedTextView", "android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [56, 0, 924, 168], "draw": false, "focusable": false, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": false, "abs-pos": true, "font-family": "sans-serif-medium", "class": "android.support.v7.widget.AppCompatCheckedTextView", "visible-to-user": false, "package": "com.sololearn.java", "enabled": true, "bounds": [0, 2062, -55, 2230], "pressed": "not_pressed", "scrollable-vertical": false}, {"resource-id": "com.sololearn.java:id/design_menu_item_action_area_stub", "adapter-view": false, "pointer": "e59b683", "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": "com.sololearn.java", "enabled": true, "bounds": [0, 2062, -979, 2062], "pressed": "not_pressed", "scrollable-vertical": false}], "adapter-view": false, "abs-pos": true, "pointer": "bb8d3d", "class": "android.support.design.internal.NavigationMenuItemView", "visible-to-user": false}], "scrollable-horizontal": false, "ancestors": ["android.support.v7.widget.RecyclerView", "android.view.ViewGroup", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [0, 0, 980, 2392], "draw": false, "focusable": true, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": false, "abs-pos": true, "class": "android.support.design.internal.NavigationMenuView", "visible-to-user": false, "package": "com.sololearn.java", "enabled": true, "bounds": [0, 0, 0, 2392], "pressed": "not_pressed", "scrollable-vertical": true}], "scrollable-horizontal": false, "ancestors": ["android.support.design.internal.ScrimInsetsFrameLayout", "android.widget.FrameLayout", "android.view.ViewGroup", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [-980, 0, 0, 2392], "draw": true, "focusable": false, "long-clickable": false, "visibility": "invisible", "focused": false, "clickable": false, "abs-pos": true, "class": "android.support.design.widget.NavigationView", "visible-to-user": false, "package": "com.sololearn.java", "enabled": true, "bounds": [0, 0, 0, 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, 0, 1440, 2392], "draw": false, "focusable": true, "long-clickable": false, "visibility": "visible", "focused": true, "clickable": false, "abs-pos": true, "class": "android.support.v4.widget.DrawerLayout", "visible-to-user": true, "package": "com.sololearn.java", "enabled": true, "bounds": [0, 0, 1440, 2392], "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, 0, 1440, 2392], "draw": true, "focusable": false, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": false, "abs-pos": true, "class": "android.support.v7.widget.ContentFrameLayout", "visible-to-user": true, "package": "android", "enabled": true, "bounds": [0, 0, 1440, 2392], "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, 0, 1440, 2392], "draw": true, "focusable": false, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": false, "abs-pos": true, "class": "android.support.v7.widget.FitWindowsLinearLayout", "visible-to-user": true, "package": "com.sololearn.java", "enabled": true, "bounds": [0, 0, 1440, 2392], "pressed": "not_pressed", "scrollable-vertical": false}], "adapter-view": false, "abs-pos": true, "pointer": "27323ad", "class": "android.widget.FrameLayout", "visible-to-user": true}], "adapter-view": false, "abs-pos": true, "pointer": "c186d30", "class": "android.widget.LinearLayout", "visible-to-user": true}, {"resource-id": "android:id/navigationBarBackground", "adapter-view": false, "pointer": "18f2a21", "scrollable-horizontal": false, "ancestors": ["java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [0, 2392, 1440, 2560], "draw": false, "focusable": false, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": false, "abs-pos": true, "class": "android.view.View", "visible-to-user": true, "package": "android", "enabled": true, "bounds": [0, 2392, 1440, 2560], "pressed": "not_pressed", "scrollable-vertical": false}], "adapter-view": false, "abs-pos": true, "pointer": "1701ab2", "class": "com.android.internal.policy.PhoneWindow$DecorView", "visible-to-user": true}, "added_fragments": [], "active_fragments": []}, "is_keyboard_deployed": false, "request_id": "1108"}
{"ancestors": ["android.widget.FrameLayout", "android.view.ViewGroup", "android.view.View", "java.lang.Object"], "class": "com.android.internal.policy.PhoneWindow$DecorView", "bounds": [0, 0, 1440, 2560], "clickable": false, "children": [{"resource-id": "com.sololearn.java:id/toolbar", "children": [{"iconClass": "arrow_backward", "ancestors": ["android.widget.ImageButton", "android.widget.ImageView", "android.view.View", "java.lang.Object"], "bounds": [0, 84, 196, 280], "clickable": true, "class": "android.support.v7.widget.AppCompatImageButton", "componentLabel": "Icon"}, {"text": "Code Playground", "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "clickable": false, "class": "android.support.v7.widget.AppCompatTextView", "bounds": [210, 135, 747, 228], "componentLabel": "Text"}, {"iconClass": "share", "resource-id": "com.sololearn.java:id/action_share", "ancestors": ["android.support.v7.widget.AppCompatTextView", "android.widget.TextView", "android.view.View", "java.lang.Object"], "clickable": true, "class": "android.support.v7.view.menu.ActionMenuItemView", "bounds": [1132, 98, 1300, 266], "componentLabel": "Icon"}, {"iconClass": "more", "ancestors": ["android.support.v7.widget.AppCompatImageView", "android.widget.ImageView", "android.view.View", "java.lang.Object"], "bounds": [1300, 98, 1440, 266], "clickable": true, "class": "android.support.v7.widget.ActionMenuPresenter$OverflowMenuButton", "componentLabel": "Icon"}], "ancestors": ["android.view.ViewGroup", "android.view.View", "java.lang.Object"], "clickable": false, "class": "android.support.v7.widget.Toolbar", "bounds": [0, 84, 1440, 280], "componentLabel": "Toolbar"}, {"text": "import java.util.Scanner;\nimport java.util.Random;\n\n/**********************************************\nSimple game made by Frekvens1\n- Self explaining code\n\nWritten 19.07.2016 (DDMMYYYY)\n**********************************************/\n\npublic class Program {\n    /*\n        Valid user input: \n        rock, paper, scissors\n    */\n    public static void main(String[] args) {\n        \n            try {\n                Scanner sc = \n                new Scanner(System.in);\n                \n                String userInput =   \n                sc.next();                      \n                if (isValid( userInput )) {\n                    game( userInput );\n                    \n                } else {\n                   print(\"Invalid user input!\\nWrite rock, paper or scissors!\");\n                }\n            } catch (Exception e) {\n                e.printStackTrace();\n            }\n    }\n    \n    public static void print(String text) {\n       System.out.println( text );\n    }\n    \n    public static boolean isValid(String input) {\n        \n        if (input.equalsIgnoreCase(\"rock\")) {\n           return true; \n        } \n        \n        if (input.equalsIgnoreCase(\"paper\")) {\n           return true; \n        }\n        \n         if (input.equalsIgnoreCase(\"scissors\")) {                             \n             return true; \n         }\n        \n        return false;\n    }\n    \n    public static void game(String user) {\n        String computer = computerResults();\n        \n        print( user + \" vs \" + computer + \"\\n\");\n        \n        if (user.equalsIgnoreCase(computer)) {\n            print(\"Stalemate! No winners.\");\n        } else {\n        \n            if (checkWin(user, computer)) {\n               print(\"You won against the computer!\");\n            } else {\n               print(\"You lost against the computer!\");\n            }\n        }\n    }\n    \n    public static String computerResults() {\n        \n        String types[] = \n        {\"rock\", \"paper\", \"scissors\"};\n        \n        Random rand = new Random(); \n        int computerChoice = rand.nextInt(3);;\n        \n        return types[computerChoice];\n    }\n    \n    public static boolean checkWin(String user, String opponent) {\n        \n        if ( (!isValid( user )) && (!isValid( opponent )) ) {\n            return false;\n        }\n        \n        String rock = \"rock\", paper = \"paper\", scissors = \"scissors\";\n        \n        if ( (user.equalsIgnoreCase( rock )) && (opponent.equalsIgnoreCase( scissors )) ) {\n           return true; \n        }\n        \n         if ( (user.equalsIgnoreCase( scissors)) && (opponent.equalsIgnoreCase( paper )) ) {\n           return true; \n        }\n        \n         if ( (user.equalsIgnoreCase( paper )) && (opponent.equalsIgnoreCase( rock  )) ) {\n           return true; \n        }\n        \n        return false; \n        //If no possible win, assume loss.\n    }\n}", "resource-id": "com.sololearn.java:id/code_editor", "ancestors": ["android.support.v7.widget.AppCompatEditText", "android.widget.EditText", "android.widget.TextView", "android.view.View", "java.lang.Object"], "clickable": true, "class": "com.sololearn.app.views.playground.AdvancedEditText", "bounds": [0, 550, 1440, 2217], "componentLabel": "Input"}, {"resource-id": "com.sololearn.java:id/run_code", "ancestors": ["android.view.ViewGroup", "android.view.View", "java.lang.Object"], "clickable": true, "class": "android.widget.LinearLayout", "bounds": [1205, 2217, 1440, 2392], "componentLabel": "Text Button", "text": "RUN"}, {"iconClass": "avatar", "ancestors": ["android.widget.ImageView", "android.view.View", "java.lang.Object"], "resource-id": "com.sololearn.java:id/code_avatar", "clickable": true, "class": "com.sololearn.app.views.CircleImageView", "bounds": [35, 315, 158, 438], "componentLabel": "Icon"}, {"text": "Simple rock, paper, scissors game", "resource-id": "com.sololearn.java:id/code_name", "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "clickable": false, "class": "android.support.v7.widget.AppCompatTextView", "bounds": [193, 315, 933, 381], "componentLabel": "Text"}, {"text": "Thomas Alme", "resource-id": "com.sololearn.java:id/code_user", "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "clickable": false, "class": "android.support.v7.widget.AppCompatTextView", "bounds": [193, 385, 453, 442], "componentLabel": "Text"}, {"iconClass": "thumbs_up", "ancestors": ["android.widget.ImageButton", "android.widget.ImageView", "android.view.View", "java.lang.Object"], "resource-id": "com.sololearn.java:id/vote_up", "clickable": true, "class": "android.support.v7.widget.AppCompatImageButton", "bounds": [166, 456, 289, 522], "componentLabel": "Icon"}, {"text": "+1122", "resource-id": "com.sololearn.java:id/vote_number", "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "clickable": false, "class": "android.support.v7.widget.AppCompatTextView", "bounds": [296, 456, 436, 522], "componentLabel": "Text"}, {"ancestors": ["android.widget.ImageButton", "android.widget.ImageView", "android.view.View", "java.lang.Object"], "resource-id": "com.sololearn.java:id/vote_down", "clickable": true, "class": "android.support.v7.widget.AppCompatImageButton", "bounds": [443, 456, 566, 522], "componentLabel": "Image"}, {"text": "Tab", "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "clickable": true, "class": "android.widget.Button", "bounds": [0, 2221, 175, 2392], "componentLabel": "Text Button"}, {"text": "{", "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "clickable": true, "class": "android.widget.Button", "bounds": [175, 2217, 350, 2392], "componentLabel": "Text Button"}, {"text": "}", "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "clickable": true, "class": "android.widget.Button", "bounds": [350, 2217, 525, 2392], "componentLabel": "Text Button"}, {"text": ";", "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "clickable": true, "class": "android.widget.Button", "bounds": [525, 2217, 700, 2392], "componentLabel": "Text Button"}, {"text": "\"", "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "clickable": true, "class": "android.widget.Button", "bounds": [700, 2217, 875, 2392], "componentLabel": "Text Button"}, {"text": "=", "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "clickable": true, "class": "android.widget.Button", "bounds": [875, 2217, 1050, 2392], "componentLabel": "Text Button"}, {"text": "(", "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "clickable": true, "class": "android.widget.Button", "bounds": [1050, 2217, 1205, 2392], "componentLabel": "Text Button"}]}