open profile profile pic
{"activity_name": "com.sololearn.cplusplus/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": "7c17d62", "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.cplusplus:id/action_bar_root", "adapter-view": false, "pointer": "c0f65e1", "children": [{"resource-id": "com.sololearn.cplusplus:id/action_mode_bar_stub", "adapter-view": false, "pointer": "d626ef3", "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.cplusplus", "enabled": true, "bounds": [0, 0, 0, 0], "pressed": "not_pressed", "scrollable-vertical": false}, {"resource-id": "android:id/content", "adapter-view": false, "pointer": "2efa93a", "children": [{"resource-id": "com.sololearn.cplusplus:id/drawer_layout", "adapter-view": false, "pointer": "8e1fcf", "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.cplusplus:id/container", "adapter-view": false, "pointer": "3a977b0", "children": [{"resource-id": "com.sololearn.cplusplus:id/editor_container", "adapter-view": false, "pointer": "2f97198", "children": [{"text": "#include <iostream>\n#include <cstdio>\n#include <ctime>\n#include <cstdlib>\n\nint main()\n{\n    srand(time(NULL));\n    int tries = 0, myNum = 0, min = 0, max = 101;\n    int findNum;\n    puts(\"Welcome to Ace's Guessing Game!\");\n    puts(\"In this version, the computer tries to guess your number.\");\n    std::cout<<\"Enter a number between 1 and 100 (Warning: Bad input causes program to terminate!): \";\n    std::cin>>myNum;\n    if(std::cin.fail()) //catches bad input strings and things that wont convert \n    {\n        puts(\"Input error occured. Quitting.\");\n        return 0;\n    }else if(std::cin.bad()) //catches the case where a user just presses the enter key \n    {\n        puts(\"Input error occured. Quitting.\");\n        return 0;\n    }else if(myNum < (min+1)) //obviously going below the min value \n    {\n        puts(\"Input error occured. Quitting.\");\n        return 0; \n    }else if(myNum > (max-1)) //again obviously, going above max value \n    {\n        puts(\"Input error occured. Quitting.\");\n        return 0;\n    }\n    \n    do //now that all error cases have been handled, time for the fun \n    {\n        findNum = rand() % ((max + 1) - min) + min;\n        \n        std::cout << \"\\nComputer's guess: \" << findNum << std::endl;\n        ++tries;\n        \n        if(myNum > findNum)\n        {\n           std::cout << \"Too low!\\n\";\n           min = findNum + 1;\n        }else if(myNum < findNum)\n        {\n           std::cout << \"Too high!\\n\";\n           max = findNum - 1;\n        }else\n            std::cout << \"Computer found the number in \" << tries << \" tries.\";\n    }while(myNum != findNum);\n    return 0;\n}", "resource-id": "com.sololearn.cplusplus:id/code_editor", "adapter-view": false, "pointer": "1488d97", "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.cplusplus", "enabled": true, "bounds": [0, 550, 1440, 2217], "pressed": "not_pressed", "scrollable-vertical": true}, {"resource-id": "com.sololearn.cplusplus:id/code_bar", "adapter-view": false, "pointer": "861ddf1", "children": [{"resource-id": "com.sololearn.cplusplus:id/code_avatar", "adapter-view": false, "pointer": "cb11dd6", "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.cplusplus", "enabled": true, "bounds": [35, 315, 158, 438], "pressed": "not_pressed", "scrollable-vertical": false}, {"text": "Ace's Computer Guessing Game", "resource-id": "com.sololearn.cplusplus:id/code_name", "adapter-view": false, "pointer": "8051857", "scrollable-horizontal": false, "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [193, 35, 892, 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.cplusplus", "enabled": true, "bounds": [193, 315, 892, 381], "pressed": "not_pressed", "scrollable-vertical": false}, {"text": "cpp", "resource-id": "com.sololearn.cplusplus:id/code_language_icon", "adapter-view": false, "pointer": "1e00f44", "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.cplusplus", "enabled": true, "bounds": [0, 280, 0, 280], "pressed": "not_pressed", "scrollable-vertical": false}, {"text": "Ace", "resource-id": "com.sololearn.cplusplus:id/code_user", "adapter-view": false, "pointer": "3a5682d", "scrollable-horizontal": false, "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [193, 105, 264, 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.cplusplus", "enabled": true, "bounds": [193, 385, 264, 442], "pressed": "not_pressed", "scrollable-vertical": false}, {"resource-id": "com.sololearn.cplusplus:id/votes_parent", "adapter-view": false, "pointer": "2f94162", "children": [{"resource-id": "com.sololearn.cplusplus:id/vote_up", "adapter-view": false, "pointer": "9d8e2f3", "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.cplusplus", "enabled": true, "bounds": [166, 456, 289, 522], "pressed": "not_pressed", "scrollable-vertical": false}, {"text": "+136", "resource-id": "com.sololearn.cplusplus:id/vote_number", "adapter-view": false, "pointer": "170dbb0", "scrollable-horizontal": false, "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [130, 0, 242, 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.cplusplus", "enabled": true, "bounds": [296, 456, 408, 522], "pressed": "not_pressed", "scrollable-vertical": false}, {"resource-id": "com.sololearn.cplusplus:id/vote_down", "adapter-view": false, "pointer": "a1d5a29", "scrollable-horizontal": false, "ancestors": ["android.widget.ImageButton", "android.widget.ImageView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [249, 0, 372, 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.cplusplus", "enabled": true, "bounds": [415, 456, 538, 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, 538, 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.cplusplus", "enabled": true, "bounds": [166, 456, 538, 550], "pressed": "not_pressed", "scrollable-vertical": false}, {"text": "Public:", "resource-id": "com.sololearn.cplusplus:id/public_switch", "adapter-view": false, "pointer": "4ae11ae", "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.cplusplus", "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.cplusplus", "enabled": true, "bounds": [0, 280, 1440, 550], "pressed": "not_pressed", "scrollable-vertical": false}, {"resource-id": "com.sololearn.cplusplus:id/parent_accessory_view", "adapter-view": false, "pointer": "214bb4f", "children": [{"resource-id": "com.sololearn.cplusplus:id/accessoryView", "adapter-view": false, "pointer": "20002dc", "children": [{"text": "Tab", "scrollable-vertical": false, "adapter-view": false, "pointer": "d086fe5", "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": "ecd9aba", "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": "88bbd6b", "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": "2f870c8", "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": "8d52561", "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": "e2aa886", "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": "526c547", "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": "d87d174", "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": "85db69d", "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": "7f8c712", "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": "b806ee3", "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": "e0a90e0", "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": "fe41f99", "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": "f18425e", "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": "441163f", "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": "837db0c", "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": "bce1c55", "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": "222266a", "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": "3ad75b", "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": "20d9bf8", "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": "f2128d1", "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": "e343f36", "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": "1458e37", "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": "17c7fa4", "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": "dbe810d", "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": "27d18c2", "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": "4dad6d3", "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": "8d3f210", "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": "e5f2109", "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"}, {"text": "#", "scrollable-vertical": false, "adapter-view": false, "pointer": "87ff0e", "scrollable-horizontal": false, "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [5075, 0, 5250, 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": [5075, 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, 5250, 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.cplusplus", "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.cplusplus", "enabled": true, "bounds": [0, 2217, 1205, 2392], "pressed": "not_pressed", "scrollable-vertical": false}, {"resource-id": "com.sololearn.cplusplus:id/run_code", "adapter-view": false, "pointer": "c720d2f", "children": [{"text": "RUN", "scrollable-vertical": false, "adapter-view": false, "pointer": "dee1f3c", "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": "4fc4c5", "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.cplusplus", "enabled": true, "bounds": [1205, 2217, 1440, 2392], "pressed": "not_pressed", "scrollable-vertical": false}, {"resource-id": "com.sololearn.cplusplus:id/auto_complete_list_view", "adapter-view": true, "pointer": "c302016", "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": false, "long-clickable": false, "visibility": "gone", "focused": false, "clickable": true, "abs-pos": true, "class": "android.widget.ListView", "visible-to-user": false, "package": "com.sololearn.cplusplus", "enabled": true, "bounds": [0, 280, 434, 280], "pressed": "not_pressed", "scrollable-vertical": true}, {"resource-id": "com.sololearn.cplusplus:id/loading_view", "adapter-view": false, "pointer": "548fe1a", "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.cplusplus:id/loading_view_progressbar", "adapter-view": false, "pointer": "81bf328", "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.cplusplus", "enabled": true, "bounds": [622, 1238, 818, 1434], "pressed": "not_pressed", "scrollable-vertical": false}, {"text": "", "resource-id": "com.sololearn.cplusplus:id/loading_view_message", "adapter-view": false, "pointer": "ece841", "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.cplusplus", "enabled": true, "bounds": [0, 280, 0, 280], "pressed": "not_pressed", "scrollable-vertical": false}, {"text": "Try again", "resource-id": "com.sololearn.cplusplus:id/loading_view_action", "adapter-view": false, "pointer": "6e8e1e6", "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.cplusplus", "enabled": true, "bounds": [0, 280, 0, 280], "pressed": "not_pressed", "scrollable-vertical": false}], "adapter-view": false, "abs-pos": true, "pointer": "f9c4d4b", "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.cplusplus", "enabled": true, "bounds": [0, 280, 1440, 2392], "pressed": "not_pressed", "scrollable-vertical": false}, {"resource-id": "com.sololearn.cplusplus:id/code_output", "adapter-view": false, "pointer": "3e07327", "children": [{"resource-id": "com.sololearn.cplusplus:id/crop_content", "adapter-view": false, "pointer": "d119d4", "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.cplusplus:id/output_title", "adapter-view": false, "pointer": "3513672", "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.cplusplus", "enabled": true, "bounds": [0, 2217, 1440, 2217], "pressed": "not_pressed", "scrollable-vertical": false}, {"resource-id": "com.sololearn.cplusplus:id/output_text_scroll", "adapter-view": false, "pointer": "6571ac3", "children": [{"text": "This code resulted in no output", "resource-id": "com.sololearn.cplusplus:id/output_text", "adapter-view": false, "pointer": "30fff40", "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.cplusplus", "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.cplusplus", "enabled": true, "bounds": [0, 2217, 1440, 2217], "pressed": "not_pressed", "scrollable-vertical": true}], "adapter-view": false, "abs-pos": true, "pointer": "cdec77d", "class": "android.widget.LinearLayout", "visible-to-user": false}, {"resource-id": "com.sololearn.cplusplus:id/loading_view", "adapter-view": false, "pointer": "9155e79", "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.cplusplus:id/loading_view_progressbar", "adapter-view": false, "pointer": "306a01f", "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.cplusplus", "enabled": true, "bounds": [0, 2217, 0, 2217], "pressed": "not_pressed", "scrollable-vertical": false}, {"text": "", "resource-id": "com.sololearn.cplusplus:id/loading_view_message", "adapter-view": false, "pointer": "595cf6c", "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.cplusplus", "enabled": true, "bounds": [0, 2217, 0, 2217], "pressed": "not_pressed", "scrollable-vertical": false}, {"text": "Try again", "resource-id": "com.sololearn.cplusplus:id/loading_view_action", "adapter-view": false, "pointer": "f846935", "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.cplusplus", "enabled": true, "bounds": [0, 2217, 0, 2217], "pressed": "not_pressed", "scrollable-vertical": false}], "adapter-view": false, "abs-pos": true, "pointer": "b7847be", "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.cplusplus", "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.cplusplus", "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.cplusplus", "enabled": true, "bounds": [0, 2217, 1440, 2217], "pressed": "not_pressed", "scrollable-vertical": false}, {"text": "Custom Toast", "resource-id": "com.sololearn.cplusplus:id/custom_toast", "adapter-view": false, "pointer": "76d21ca", "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.cplusplus", "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.cplusplus", "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.cplusplus", "enabled": true, "bounds": [0, 280, 1440, 2392], "pressed": "not_pressed", "scrollable-vertical": false}, {"resource-id": "com.sololearn.cplusplus:id/header_list", "adapter-view": false, "pointer": "1ecff73", "children": [{"resource-id": "com.sololearn.cplusplus:id/header_list_view", "adapter-view": true, "pointer": "191ffe2", "scrollable-horizontal": false, "ancestors": ["android.widget.AdapterView", "android.view.ViewGroup", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [300, 0, 1140, 84], "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.cplusplus", "enabled": true, "bounds": [300, 280, 1140, 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.cplusplus", "enabled": true, "bounds": [0, 280, 1440, 280], "pressed": "not_pressed", "scrollable-vertical": false}, {"resource-id": "com.sololearn.cplusplus:id/tabLayout", "adapter-view": false, "pointer": "fd508de", "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": "715f019", "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.cplusplus", "enabled": true, "bounds": [0, 280, 1440, 280], "pressed": "not_pressed", "scrollable-vertical": false}, {"resource-id": "com.sololearn.cplusplus:id/header_extra", "adapter-view": false, "pointer": "1c9abf", "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.cplusplus", "enabled": true, "bounds": [0, 280, 1440, 280], "pressed": "not_pressed", "scrollable-vertical": false}, {"resource-id": "com.sololearn.cplusplus:id/toolbar_shadow", "adapter-view": false, "pointer": "8ee7272", "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.cplusplus", "enabled": true, "bounds": [0, 84, 0, 84], "pressed": "not_pressed", "scrollable-vertical": false}, {"resource-id": "com.sololearn.cplusplus:id/toolbar", "adapter-view": false, "pointer": "a91a6c3", "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": "ea59b40", "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.cplusplus:id/action_share", "adapter-view": false, "pointer": "5ff1f3b", "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.cplusplus", "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": "bc67658", "class": "android.support.v7.widget.ActionMenuPresenter$OverflowMenuButton", "visible-to-user": true}], "adapter-view": false, "abs-pos": true, "pointer": "550ca79", "class": "android.support.v7.widget.ActionMenuView", "visible-to-user": true}, {"text": "Code Playground", "scrollable-vertical": false, "adapter-view": false, "pointer": "109ef47", "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.cplusplus", "enabled": true, "bounds": [0, 84, 1440, 280], "pressed": "not_pressed", "scrollable-vertical": false}, {"resource-id": "com.sololearn.cplusplus:id/achievement_container", "adapter-view": false, "pointer": "3ad43be", "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.cplusplus", "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": "e5dec1f", "class": "android.view.SurfaceView", "visible-to-user": false}], "adapter-view": false, "abs-pos": true, "pointer": "daffe30", "class": "android.widget.RelativeLayout", "visible-to-user": true}, {"resource-id": "com.sololearn.cplusplus:id/navigation_drawer", "adapter-view": false, "pointer": "ae92b6c", "children": [{"resource-id": "com.sololearn.cplusplus:id/design_navigation_view", "adapter-view": false, "pointer": "8bdf454", "children": [{"resource-id": "com.sololearn.cplusplus:id/navigation_header_container", "adapter-view": false, "pointer": "20a9535", "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": "d7f2b3b", "class": "android.support.v7.widget.AppCompatImageView", "visible-to-user": false}, {"resource-id": "com.sololearn.cplusplus:id/menu_user", "adapter-view": false, "pointer": "8f39258", "children": [{"resource-id": "com.sololearn.cplusplus:id/menu_avatar", "adapter-view": false, "pointer": "e5c4fb1", "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.cplusplus", "enabled": true, "bounds": [0, 148, -699, 372], "pressed": "not_pressed", "scrollable-vertical": false}, {"text": "Grace Chan", "resource-id": "com.sololearn.cplusplus:id/menu_name", "adapter-view": false, "pointer": "17c0c96", "scrollable-horizontal": false, "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [56, 428, 309, 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.cplusplus", "enabled": true, "bounds": [0, 428, -670, 494], "pressed": "not_pressed", "scrollable-vertical": false}, {"text": "appcrawler6@gmail.com", "resource-id": "com.sololearn.cplusplus:id/menu_email", "adapter-view": false, "pointer": "fab4017", "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.cplusplus", "enabled": true, "bounds": [0, 494, -331, 574], "pressed": "not_pressed", "scrollable-vertical": false}, {"text": "Sign Out", "resource-id": "com.sololearn.cplusplus:id/menu_logout", "adapter-view": false, "pointer": "23b7c04", "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.cplusplus", "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.cplusplus", "enabled": true, "bounds": [0, 0, 0, 630], "pressed": "not_pressed", "scrollable-vertical": false}, {"text": "Sign In", "resource-id": "com.sololearn.cplusplus:id/menu_login", "adapter-view": false, "pointer": "23535ed", "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.cplusplus", "enabled": true, "bounds": [0, 452, 0, 630], "pressed": "not_pressed", "scrollable-vertical": false}], "adapter-view": false, "abs-pos": true, "pointer": "3f5ddca", "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.cplusplus", "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.cplusplus:id/design_menu_item_text", "adapter-view": false, "pointer": "ef8ab47", "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.cplusplus", "enabled": true, "bounds": [0, 658, -55, 826], "pressed": "not_pressed", "scrollable-vertical": false}, {"resource-id": "com.sololearn.cplusplus:id/design_menu_item_action_area_stub", "adapter-view": false, "pointer": "3fabf74", "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.cplusplus", "enabled": true, "bounds": [0, 658, -979, 658], "pressed": "not_pressed", "scrollable-vertical": false}], "adapter-view": false, "abs-pos": true, "pointer": "21c6686", "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.cplusplus:id/design_menu_item_text", "adapter-view": false, "pointer": "87862d0", "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.cplusplus", "enabled": true, "bounds": [0, 826, -55, 994], "pressed": "not_pressed", "scrollable-vertical": false}, {"resource-id": "com.sololearn.cplusplus:id/design_menu_item_action_area_stub", "adapter-view": false, "pointer": "63da2c9", "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.cplusplus", "enabled": true, "bounds": [0, 826, -979, 826], "pressed": "not_pressed", "scrollable-vertical": false}], "adapter-view": false, "abs-pos": true, "pointer": "efb9293", "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.cplusplus:id/design_menu_item_text", "adapter-view": false, "pointer": "c42c4ef", "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.cplusplus", "enabled": true, "bounds": [0, 994, -55, 1162], "pressed": "not_pressed", "scrollable-vertical": false}, {"resource-id": "com.sololearn.cplusplus:id/design_menu_item_action_area_stub", "adapter-view": false, "pointer": "48dbfc", "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.cplusplus", "enabled": true, "bounds": [0, 994, -979, 994], "pressed": "not_pressed", "scrollable-vertical": false}], "adapter-view": false, "abs-pos": true, "pointer": "4dbdce", "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.cplusplus:id/design_menu_item_text", "adapter-view": false, "pointer": "38be8da", "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.cplusplus", "enabled": true, "bounds": [0, 1162, -55, 1330], "pressed": "not_pressed", "scrollable-vertical": false}, {"resource-id": "com.sololearn.cplusplus:id/design_menu_item_action_area_stub", "adapter-view": false, "pointer": "620c10b", "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.cplusplus", "enabled": true, "bounds": [0, 1162, -979, 1162], "pressed": "not_pressed", "scrollable-vertical": false}], "adapter-view": false, "abs-pos": true, "pointer": "2f4a285", "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.cplusplus:id/design_menu_item_text", "adapter-view": false, "pointer": "a61e201", "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.cplusplus", "enabled": true, "bounds": [0, 1330, -55, 1498], "pressed": "not_pressed", "scrollable-vertical": false}, {"resource-id": "com.sololearn.cplusplus:id/design_menu_item_action_area_stub", "adapter-view": false, "pointer": "c4fb8a6", "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.cplusplus", "enabled": true, "bounds": [0, 1330, -979, 1330], "pressed": "not_pressed", "scrollable-vertical": false}], "adapter-view": false, "abs-pos": true, "pointer": "45bbe8", "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.cplusplus:id/design_menu_item_text", "adapter-view": false, "pointer": "b006d8", "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.cplusplus", "enabled": true, "bounds": [0, 1498, -55, 1666], "pressed": "not_pressed", "scrollable-vertical": false}, {"resource-id": "com.sololearn.cplusplus:id/design_menu_item_action_area_stub", "adapter-view": false, "pointer": "18ea31", "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.cplusplus", "enabled": true, "bounds": [0, 1498, -979, 1498], "pressed": "not_pressed", "scrollable-vertical": false}], "adapter-view": false, "abs-pos": true, "pointer": "a4aa1bb", "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.cplusplus:id/design_menu_item_text", "adapter-view": false, "pointer": "ff79e97", "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.cplusplus", "enabled": true, "bounds": [0, 1666, -55, 1834], "pressed": "not_pressed", "scrollable-vertical": false}, {"resource-id": "com.sololearn.cplusplus:id/design_menu_item_action_area_stub", "adapter-view": false, "pointer": "e8ab884", "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.cplusplus", "enabled": true, "bounds": [0, 1666, -979, 1666], "pressed": "not_pressed", "scrollable-vertical": false}], "adapter-view": false, "abs-pos": true, "pointer": "4dcd516", "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": "b0092a", "class": "android.view.View", "visible-to-user": false}], "adapter-view": false, "abs-pos": true, "pointer": "5aed215", "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.cplusplus:id/design_menu_item_text", "adapter-view": false, "pointer": "9492ca2", "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.cplusplus", "enabled": true, "bounds": [0, 1894, -55, 2062], "pressed": "not_pressed", "scrollable-vertical": false}, {"resource-id": "com.sololearn.cplusplus:id/design_menu_item_action_area_stub", "adapter-view": false, "pointer": "70d8d33", "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.cplusplus", "enabled": true, "bounds": [0, 1894, -979, 1894], "pressed": "not_pressed", "scrollable-vertical": false}], "adapter-view": false, "abs-pos": true, "pointer": "f60f86d", "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.cplusplus:id/design_menu_item_text", "adapter-view": false, "pointer": "fa1ae69", "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.cplusplus", "enabled": true, "bounds": [0, 2062, -55, 2230], "pressed": "not_pressed", "scrollable-vertical": false}, {"resource-id": "com.sololearn.cplusplus:id/design_menu_item_action_area_stub", "adapter-view": false, "pointer": "93170ee", "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.cplusplus", "enabled": true, "bounds": [0, 2062, -979, 2062], "pressed": "not_pressed", "scrollable-vertical": false}], "adapter-view": false, "abs-pos": true, "pointer": "a3cd8f0", "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.cplusplus", "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.cplusplus", "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.cplusplus", "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.cplusplus", "enabled": true, "bounds": [0, 0, 1440, 2392], "pressed": "not_pressed", "scrollable-vertical": false}], "adapter-view": false, "abs-pos": true, "pointer": "b956bf4", "class": "android.widget.FrameLayout", "visible-to-user": true}], "adapter-view": false, "abs-pos": true, "pointer": "914ab63", "class": "android.widget.LinearLayout", "visible-to-user": true}, {"resource-id": "android:id/navigationBarBackground", "adapter-view": false, "pointer": "8c82ecd", "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": "1b9142d", "class": "com.android.internal.policy.PhoneWindow$DecorView", "visible-to-user": true}, "added_fragments": [], "active_fragments": []}, "is_keyboard_deployed": false, "request_id": "655"}
{"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.cplusplus: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.cplusplus: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": "#include <iostream>\n#include <cstdio>\n#include <ctime>\n#include <cstdlib>\n\nint main()\n{\n    srand(time(NULL));\n    int tries = 0, myNum = 0, min = 0, max = 101;\n    int findNum;\n    puts(\"Welcome to Ace's Guessing Game!\");\n    puts(\"In this version, the computer tries to guess your number.\");\n    std::cout<<\"Enter a number between 1 and 100 (Warning: Bad input causes program to terminate!): \";\n    std::cin>>myNum;\n    if(std::cin.fail()) //catches bad input strings and things that wont convert \n    {\n        puts(\"Input error occured. Quitting.\");\n        return 0;\n    }else if(std::cin.bad()) //catches the case where a user just presses the enter key \n    {\n        puts(\"Input error occured. Quitting.\");\n        return 0;\n    }else if(myNum < (min+1)) //obviously going below the min value \n    {\n        puts(\"Input error occured. Quitting.\");\n        return 0; \n    }else if(myNum > (max-1)) //again obviously, going above max value \n    {\n        puts(\"Input error occured. Quitting.\");\n        return 0;\n    }\n    \n    do //now that all error cases have been handled, time for the fun \n    {\n        findNum = rand() % ((max + 1) - min) + min;\n        \n        std::cout << \"\\nComputer's guess: \" << findNum << std::endl;\n        ++tries;\n        \n        if(myNum > findNum)\n        {\n           std::cout << \"Too low!\\n\";\n           min = findNum + 1;\n        }else if(myNum < findNum)\n        {\n           std::cout << \"Too high!\\n\";\n           max = findNum - 1;\n        }else\n            std::cout << \"Computer found the number in \" << tries << \" tries.\";\n    }while(myNum != findNum);\n    return 0;\n}", "resource-id": "com.sololearn.cplusplus: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.cplusplus: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.cplusplus:id/code_avatar", "clickable": true, "class": "com.sololearn.app.views.CircleImageView", "bounds": [35, 315, 158, 438], "componentLabel": "Icon"}, {"text": "Ace's Computer Guessing Game", "resource-id": "com.sololearn.cplusplus:id/code_name", "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "clickable": false, "class": "android.support.v7.widget.AppCompatTextView", "bounds": [193, 315, 892, 381], "componentLabel": "Text"}, {"text": "Ace", "resource-id": "com.sololearn.cplusplus:id/code_user", "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "clickable": false, "class": "android.support.v7.widget.AppCompatTextView", "bounds": [193, 385, 264, 442], "componentLabel": "Text"}, {"iconClass": "thumbs_up", "ancestors": ["android.widget.ImageButton", "android.widget.ImageView", "android.view.View", "java.lang.Object"], "resource-id": "com.sololearn.cplusplus:id/vote_up", "clickable": true, "class": "android.support.v7.widget.AppCompatImageButton", "bounds": [166, 456, 289, 522], "componentLabel": "Icon"}, {"text": "+136", "resource-id": "com.sololearn.cplusplus:id/vote_number", "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "clickable": false, "class": "android.support.v7.widget.AppCompatTextView", "bounds": [296, 456, 408, 522], "componentLabel": "Text"}, {"iconClass": "thumbs_down", "ancestors": ["android.widget.ImageButton", "android.widget.ImageView", "android.view.View", "java.lang.Object"], "resource-id": "com.sololearn.cplusplus:id/vote_down", "clickable": true, "class": "android.support.v7.widget.AppCompatImageButton", "bounds": [415, 456, 538, 522], "componentLabel": "Icon"}, {"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"}]}
Learn C++