private BaseLayout createContentLayout()
        {
            contentHolder = new LinearLayout();
            contentHolder.setSizeParams(new SizeParams(MATCH_PARENT, MATCH_PARENT));
            contentHolder.invertDirection = true;

            contentHolder.addItem(createSwitchViewLayout());

            SizeParams fityPercentWidthSizeParams = new SizeParams();

            fityPercentWidthSizeParams.WidthPercent = 50.0f;
            fityPercentWidthSizeParams.Height       = MATCH_PARENT;

            jsonInput = new LinearLayout();
            jsonInput.setSizeParams(new SizeParams(MATCH_PARENT, MATCH_PARENT));
            jsonInput.setDirection(Direction.HORIZONTAL);

            LinearLayout json1Column = new LinearLayout();

            json1Column.setSizeParams(fityPercentWidthSizeParams);
            json1Column.addItem(createJsonHeaderLayout("Left JSON"));
            EditTextLayout json1Text = new EditTextLayout();

            json1Text.edgeColor = new Color(0, 122, 204);
            json1Text.setSizeParams(new SizeParams(MATCH_PARENT, FILL));
            json1Column.addItem(json1Text);
            json1Text.susbcribeToTextChanges(() =>
            {
                model.setjson1(json1Text.getText());
            });
            json1Text.setText(Properties.Resources.TextFile1);

            LinearLayout json2Column = new LinearLayout();

            json2Column.setSizeParams(fityPercentWidthSizeParams);
            json2Column.addItem(createJsonHeaderLayout("Right JSON"));
            EditTextLayout json2Text = new EditTextLayout();

            json2Text.edgeColor = new Color(0, 122, 204);
            json2Text.setSizeParams(new SizeParams(MATCH_PARENT, FILL));
            json2Column.addItem(json2Text);
            json2Text.susbcribeToTextChanges(() =>
            {
                model.setjson2(json2Text.getText());
            });
            json2Text.setText(Properties.Resources.TextFile1);

            jsonInput.addItem(json1Column);
            jsonInput.addItem(json2Column);

            jsonResultLayout = new JsonLayout();

            contentHolder.addItem(jsonInput);

            return(contentHolder);
        }
 public string getKeyText()
 {
     return(keyEditText.getText());
 }