mirror of
https://github.com/bspeice/UNCCGameDay
synced 2025-07-06 08:15:06 -04:00
Add generic menus, and implement a basic layout for alert settings.
I should commit more often, sorry...
This commit is contained in:
@ -1,6 +1,43 @@
|
||||
package com.uncc.gameday.activities;
|
||||
|
||||
import com.uncc.gameday.R;
|
||||
|
||||
import android.os.Bundle;
|
||||
import android.view.View;
|
||||
import android.widget.CheckBox;
|
||||
|
||||
public class Alerts extends MenuActivity {
|
||||
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
setContentView(R.layout.activity_alerts);
|
||||
}
|
||||
|
||||
public void onClickTimedAlerts(View view) {
|
||||
if (((CheckBox) view).isChecked())
|
||||
// Enable Timed alerts
|
||||
;
|
||||
else
|
||||
// Disable Timed alerts
|
||||
;
|
||||
}
|
||||
|
||||
public void onClickOrganizationAlerts(View view) {
|
||||
if (((CheckBox) view).isChecked())
|
||||
// Enable Organization alerts
|
||||
;
|
||||
else
|
||||
// Disable Organization alerts
|
||||
;
|
||||
}
|
||||
|
||||
public void onClickUniversityAlerts(View view) {
|
||||
if (((CheckBox) view).isChecked())
|
||||
// Enable University alerts
|
||||
;
|
||||
else
|
||||
// Disable University alerts
|
||||
;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user