private LinearLayout createKeysLayout()
        {
            LinearLayout keyVertical = new LinearLayout();

            keyVertical.setSizeParams(new SizeParams(MATCH_PARENT, MATCH_PARENT));
            keyVertical.setDirection(Direction.HORIZONTAL);
            keyVertical.invertDirection = true;

            LinearLayout linearLayout = new LinearLayout();

            linearLayout.setSizeParams(new SizeParams(FILL, FILL));

            keyList = new LinearLayout();
            keyList.setSizeParams(new SizeParams(MATCH_PARENT, WRAP_CONTENTS));

            linearLayout.addItem(keyList);

            ButtonLayout addButton = new ButtonLayout();

            addButton.setSizeParams(new SizeParams(30, 30));
            addButton.color = new Color(50, 50, 50);
            addButton.setPositionParams(new PositionParams(CENTER, CENTER));
            addButton.color = buttonBlue;

            TextBoxLayout text = new TextBoxLayout();

            text.setSizeParams(new SizeParams(WRAP_CONTENTS, WRAP_CONTENTS));
            text.text = "Add Key";
            text.setPositionParams(new PositionParams(CENTER, CENTER));
            text.textColor = uiWhite;

            addButton.setOnClickListener(() =>
            {
                addKey();
            });

            addKey();

            linearLayout.addItem(addButton);

            ColoredLayout verticalDivider = new ColoredLayout();

            verticalDivider.setSizeParams(new SizeParams(2, MATCH_PARENT));
            verticalDivider.color = new Color(63, 63, 70);

            keyVertical.addChild(verticalDivider);
            keyVertical.addChild(linearLayout);

            return(keyVertical);
        }
        private BaseLayout createSwitchViewLayout()
        {
            CustomPlacementLayout space = new CustomPlacementLayout();

            space.setSizeParams(new SizeParams(MATCH_PARENT, 125));
            space.color = new Color(37, 37, 38);

            ButtonLayout button = new ButtonLayout();

            button.setSizeParams(new SizeParams(WRAP_CONTENTS, WRAP_CONTENTS));
            button.setPositionParams(new PositionParams(CENTER, CENTER));
            button.color = buttonBlue;

            TextBoxLayout text = new TextBoxLayout();

            text.setSizeParams(new SizeParams(WRAP_CONTENTS, WRAP_CONTENTS));
            text.text = "See Results";
            text.setPositionParams(new PositionParams(CENTER, CENTER));
            text.textColor = uiWhite;

            button.setContents(text);
            button.setOnClickListener(() =>
            {
                if (inputMode)
                {
                    contentHolder.removeChild(jsonInput);
                    contentHolder.addChild(jsonResultLayout);
                    text.text = "Change Input";
                }
                else
                {
                    contentHolder.removeChild(jsonResultLayout);
                    contentHolder.addChild(jsonInput);
                    text.text = "See Results";
                }

                inputMode = !inputMode;
            });

            space.AddItem(button);

            return(space);
        }