private GridLayout.LayoutParams createGridLayoutParams(final int colWeight) {
        final GridLayout.LayoutParams lp = new GridLayout.LayoutParams(
                GridLayout.spec(GridLayout.UNDEFINED, GridLayout.FILL),
                GridLayout.spec(GridLayout.UNDEFINED, GridLayout.FILL, colWeight));
        lp.width = colWeight == 0 ? WRAP_CONTENT : 20;
        lp.height = WRAP_CONTENT;
        return lp;
    }
returns true if latPatternn/lonPattern could be applied, false otherwise
main/src/main/java/cgeo/geocaching/ui/CalculatedCoordinateInputGuideView.java