Amadeus
Amadeus copied to clipboard
bug with alarm clock ui
bug with alarm clock ui.
Set the alarm time and turn it on. We leave the menu and go again. The current time, not the time of the configured alarm, in the menu.
how to fix
public class AlarmActivity
if (settings.getBoolean("alarm_toggle", false)) {
alarmToggle.setChecked(true);
-
Calendar calendar = Calendar.getInstance();
-
alarmTimePicker.setHour(calendar.get(Calendar.HOUR_OF_DAY));
-
alarmTimePicker.setMinute(Calendar.MINUTE); } else {
???
I'm sorry, I don't really understand the problem. Is it that you can set the alarm again after setting it once?
@YInk Does that mean we can set multiple alarms? That would be awesome but how do we disable them?