I have checked my edittext is visible or invisible in android.
Now i have to check the condition is.,
use
if(Saddress.getVisibility() == View.VISIBLE){ //.. your code here }
instead of
if(Saddress== VISIBLE){ //.. your code here }
because VISIBLE,GONE and INVISIBLE is part of View class instead of Activity
VISIBLE
GONE
INVISIBLE