How to check visibility status of EditText in android?
Try to use this method:
isShown();
You should be able to retrieve that by calling the method isShown()
on your EditText
.
you can try this way also ...
if(edittextname.getVisibility() == View.VISIBLE)
{
}
or
if(edittextname.getVisibility() == View.INVISIBLE)
{
}