リセットボタンを押すとテキストとラジオボタンの選択が消えるように設定しました。

This commit is contained in:
Ekamo-11 2024-06-18 16:13:23 +09:00
parent 3e3d750b85
commit e7d26cff81

View File

@ -124,6 +124,19 @@ public class SetUpActivity extends FragmentActivity
isStartTimeSelected = 4;
showTimePickerDialog();
});
reset.setOnClickListener(v -> {
setTeacherName.setText("");
setStartPoint.setText("");
setStartTime.setText("");
setEndTime.setText("");
setTenMinute.setChecked(false);
setFifteenMinute.setChecked(false);
setThirtyMinute.setChecked(false);
setStartBreakTime.setText("");
setEndBreakTime.setText("");
setTotalStudent.setText("");
});
}
@SuppressLint({"DefaultLocale", "SetTextI18n"})