I would like to know how do I test if an EditText is empty or populated in Android. For example, I want to make an app that will perform a registration, but there are fields that can not be empty so I would like to know how to do this test, in case, if there was an empty field, it would return a message saying that the fields do not can be left blank.