[android] Regular Expression only number and dot

String asdf = "123.6";
Log.i("###", Pattern.matches("^[0-9\\.]*$", asdf));