Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f5535e23 authored by Sam Blitzstein's avatar Sam Blitzstein
Browse files

Click on alarm empty state should create new alarm.

Change-Id: I40da89f853b628f494d8f68d27be902e18d1cddc
parent ed208478
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -170,6 +170,12 @@ public class AlarmClockFragment extends DeskClockFragment implements


        mEmptyView = v.findViewById(R.id.alarms_empty_view);
        mEmptyView.setOnClickListener(new OnClickListener() {
            @Override
            public void onClick(View v) {
                startCreatingAlarm();
            }
        });
        mAlarmsList = (ListView) v.findViewById(R.id.alarms_list);
        View footerView = inflater.inflate(R.layout.blank_footer_view, mAlarmsList, false);
        footerView.setBackgroundResource(R.color.blackish);