リセットボタンを押すとテキストとラジオボタンの選択が消えるように設定しました。
This commit is contained in:
parent
3e3d750b85
commit
e7d26cff81
|
@ -124,6 +124,19 @@ public class SetUpActivity extends FragmentActivity
|
||||||
isStartTimeSelected = 4;
|
isStartTimeSelected = 4;
|
||||||
showTimePickerDialog();
|
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"})
|
@SuppressLint({"DefaultLocale", "SetTextI18n"})
|
||||||
|
|
Loading…
Reference in New Issue
Block a user