private double getEditValue(EditText etvalue) {
   try {
     if (etvalue.getVisibility() == View.VISIBLE) {
       double value = Double.parseDouble(etvalue.getText().toString());
       return value;
     }
   } catch (Exception e) {
     slog.e(TAG, "getMaxValue error mETValue1.getText() " + etvalue.getText());
     e.printStackTrace();
   }
   return -1;
 }
 public boolean isEmailFieldVisible() {
   EditText email = (EditText) findViewById(R.id.email);
   return email.getVisibility() == View.VISIBLE;
 }