-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #31 from andy-cameron/setting_dates
Setting dates
- Loading branch information
Showing
14 changed files
with
212 additions
and
39 deletions.
There are no files selected for viewing
Binary file not shown.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
53 changes: 53 additions & 0 deletions
53
app/src/main/java/com/andrewcameron/green_leaf/UserPreferences.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
package com.andrewcameron.green_leaf; | ||
|
||
public class UserPreferences { | ||
private Boolean presentMonday, presentTuesday, presentWednesday, presentThursday, presentFriday; | ||
|
||
public UserPreferences(Boolean presentMonday, Boolean presentTuesday, Boolean presentWednesday, Boolean presentThursday, Boolean presentFriday) { | ||
this.presentMonday = presentMonday; | ||
this.presentTuesday = presentTuesday; | ||
this.presentWednesday = presentWednesday; | ||
this.presentThursday = presentThursday; | ||
this.presentFriday = presentFriday; | ||
} | ||
|
||
public Boolean getPresentMonday() { | ||
return presentMonday; | ||
} | ||
|
||
public void setPresentMonday(Boolean presentMonday) { | ||
this.presentMonday = presentMonday; | ||
} | ||
|
||
public Boolean getPresentTuesday() { | ||
return presentTuesday; | ||
} | ||
|
||
public void setPresentTuesday(Boolean presentTuesday) { | ||
this.presentTuesday = presentTuesday; | ||
} | ||
|
||
public Boolean getPresentWednesday() { | ||
return presentWednesday; | ||
} | ||
|
||
public void setPresentWednesday(Boolean presentWednesday) { | ||
this.presentWednesday = presentWednesday; | ||
} | ||
|
||
public Boolean getPresentThursday() { | ||
return presentThursday; | ||
} | ||
|
||
public void setPresentThursday(Boolean presentThursday) { | ||
this.presentThursday = presentThursday; | ||
} | ||
|
||
public Boolean getPresentFriday() { | ||
return presentFriday; | ||
} | ||
|
||
public void setPresentFriday(Boolean presentFriday) { | ||
this.presentFriday = presentFriday; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<selector xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<item> | ||
<shape android:shape="oval"> | ||
<solid android:color="@color/yesGreen"/> | ||
<stroke android:color="@color/grey" android:width="1dp"/> | ||
<size android:width="250dp" android:height="250dp"/> | ||
</shape> | ||
</item> | ||
</selector> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.