title: how to clear EditText in Android?
body: <p>I am developing an android app. Here I need to set values in some EditText. Then I have to clear all. How can I do this? The EditData.java code are given below:</p>
  
  <pre><code>    morning = (EditText) findViewById(R.id.morning);
      noon = (EditText) findViewById(R.id.noon);
      afternoon = (EditText) findViewById(R.id.afternoon);
      night = (EditText) findViewById(R.id.night);
      before_meal = (EditText) findViewById(R.id.before_meal);
      after_meal = (EditText) findViewById(R.id.after_meal);
      hourly = (EditText) findViewById(R.id.hourly);
      days = (EditText) findViewById(R.id.days);
  
      morning.setText(String.valueOf(scheduleTime.charAt(0)));
  
      noon.setText(String.valueOf(scheduleTime.charAt(1)));
  
      afternoon.setText(String.valueOf(scheduleTime.charAt(2)));
  
      night.setText(String.valueOf(scheduleTime.charAt(3)));
  
      before_meal.setText(String.valueOf(scheduleTime.charAt(4)));
  
      after_meal.setText(String.valueOf(scheduleTime.charAt(5)));
  
      hourly.setText(String.valueOf(scheduleTime.charAt(6)));
  
      days.setText(String.valueOf(scheduleTime.charAt(7)));
  </code></pre>