private void initView() {
            butt = new Button(ViewUtils.wrap(getContext()));
            butt.setTextSize(22f);
            butt.setInputType(TYPE_CLASS_TEXT | TYPE_TEXT_FLAG_NO_SUGGESTIONS);
            butt.setGravity(Gravity.CENTER);
            butt.setPadding(0, 0, 0, 0);

            image = new ImageView(ViewUtils.wrap(getContext()));
            image.setImageResource(R.drawable.ic_menu_variable);
            image.setScaleType(ImageView.ScaleType.FIT_CENTER);
            image.setPadding(ViewUtils.dpToPixel(3), ViewUtils.dpToPixel(3), ViewUtils.dpToPixel(3), ViewUtils.dpToPixel(3));
            image.setVisibility(GONE);
            image.setElevation(1000f);

            final LayoutParams lp = new LayoutParams(WRAP_CONTENT, WRAP_CONTENT);
            lp.addRule(RelativeLayout.CENTER_VERTICAL);
            lp.addRule(RelativeLayout.CENTER_HORIZONTAL);
            addView(butt, lp);
            addView(image, lp);

            unmark();
        }
These variables are accessed from the derived class 'CalculateButton'
main/src/main/java/cgeo/geocaching/ui/CalculatedCoordinateInputGuideView.java