This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class DecimalDigitsInputFilter implements InputFilter { | |
private static String separators = "[\\.\\,]"; | |
private final Pattern mPattern; | |
public DecimalDigitsInputFilter(int digitsBeforeSeparator, int digitsAfterSeparator) { | |
String b = "(-?\\d{1," + digitsBeforeSeparator + "})"; | |
String a = "(\\d{1," + digitsAfterSeparator + "})"; | |
String s = separators; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
android { | |
signingConfigs { | |
release | |
} | |
buildTypes { | |
release { | |
signingConfig signingConfigs.release | |
} |