package com.basgeekball.awesomevalidation;

public enum ValidationStyle {

    BASIC(0),
    COLORATION(1),
    UNDERLABEL(2);

    private int mValue;

    private ValidationStyle(int value) {
        mValue = value;
    }

    public int value() {
        return mValue;
    }

    public static ValidationStyle fromValue(int value) {
        switch (value) {
            case 0:
                return ValidationStyle.BASIC;
            case 1:
                return ValidationStyle.COLORATION;
            case 2:
                return ValidationStyle.UNDERLABEL;
            default:
                throw new IllegalArgumentException("Unknown ValidationStyle value.");
        }
    }

}
@@ -118,16 +118,42 @@
 LABEL(2)
+,%0A    TEXT_INPUT_LAYOUT(3)
 ;%0A%0A    p
@@ -589,16 +589,94 @@
 RLABEL;%0A
+            case 3:%0A                return ValidationStyle.TEXT_INPUT_LAYOUT;%0A
         

Add new ValidationStyle for TEXT_INPUT_LAYOUT