How to underline an EditText

I am having some problems to underline an EditText in AndroidStudio. This is what I am looking for (this is just a photo, not my real text): But I do not really know any property to do that. My code …

android : Check EditText is null

i want to check and give condition to my edittext, if i input something to my edittext, l it will change my imageview, this is my code: if (nama_pp.getText().toString().length()==0){ …

Needing to double click EditText for click listener to respond

I have a section of code where I want to change the text showing in a textView when the user selects an EditText box. The problem I am having is that the textView only changes when I double click the …

Switch between a TextView and EditText

Is this possible to interchange a TextView and an EditText. Like display the text when needed, but allow editing when needed. Is there a method (as in NON-XML) way of editing a TextView or non-editing …