Commit Graph

306 Commits

Author SHA1 Message Date
Phillip Hsu
c0c7d521df Persist recurring day change as it is made 2016-09-03 17:57:19 -07:00
Phillip Hsu
554dd49f0a Persist vibrate change as it is made 2016-09-03 17:41:12 -07:00
Phillip Hsu
abc849c243 Persist label change as it is made. Keep AlarmVH expanded as content change occurs. 2016-09-03 17:36:35 -07:00
Phillip Hsu
8171a663bc Change signature of RecyclerViewFragment#onCreateAdapter() to not require Bundle param 2016-09-03 15:33:03 -07:00
Phillip Hsu
ca2da0ad66 Split RecyclerViewFragment#getAdapter() into getAdapter() and onCreateAdapter() 2016-09-03 03:15:22 -07:00
Phillip Hsu
b1ac2e60dd Initialize NumberGridTimePickerDialog with Alarm's previous hour and minute. Expand collapsed ViewHolder when time is clicked. 2016-09-02 21:27:48 -07:00
Phillip Hsu
446d7a5334 Restore expanded alarm ViewHolder on rotate 2016-09-02 20:46:09 -07:00
Phillip Hsu
adb40beed8 Open label dialog and time picker from ExpandedAlarmViewHolder 2016-09-02 19:27:41 -07:00
Phillip Hsu
5ec512d268 Save label changes 2016-09-02 17:25:31 -07:00
Phillip Hsu
8b9b4258e2 Show selected ringtone URI when opening ringtone picker 2016-09-02 00:25:11 -07:00
Phillip Hsu
c8ea8cf43a Change value of themedIconTint to be a color resource, instead of a ColorStateList resource which is not supported for the XML tint attribute of an ImageView below v21. 2016-09-01 20:55:29 -07:00
Phillip Hsu
d7b3fc6ee1 Fixed bug where a missed, non-recurring alarm that superseded a previous alarm was not disabled after exiting AlarmActivity. Fixed bug where successive alarms would cancel missed alarm notifications for previous alarms. 2016-09-01 19:39:34 -07:00
Phillip Hsu
7b81bb467f Play default ringtone if alarm has not set one 2016-09-01 16:30:03 -07:00
Phillip Hsu
732049b540 Apply themed icon tint to ringtone icon 2016-09-01 15:30:35 -07:00
Phillip Hsu
70ccc25bc6 Change textColorHint, dark theme palette 2016-09-01 14:16:00 -07:00
Phillip Hsu
7310d49430 Remove label hint 2016-09-01 13:48:10 -07:00
Phillip Hsu
bff06c66f9 Added comments about colors 2016-09-01 03:53:32 -07:00
Phillip Hsu
331f012190 Layout changes to expanded alarm item. Create ColorStateList for day toggles in code. 2016-09-01 03:28:32 -07:00
Phillip Hsu
52b2f7ed90 Use TextAppearance.AppCompat parent and change text size 2016-09-01 01:16:26 -07:00
Phillip Hsu
2218114adc Change alarm time text appearance 2016-09-01 01:09:41 -07:00
Phillip Hsu
ce9797e8fd Change timer countdown text color 2016-09-01 00:59:36 -07:00
Phillip Hsu
25b709e793 Moved stopwatch style to its own file 2016-09-01 00:55:59 -07:00
Phillip Hsu
61c4a8a3f7 Moved timer styles to their own file 2016-09-01 00:01:45 -07:00
Phillip Hsu
fcf2cacbbb Moved TimerViewHolder child view attributes to styles.xml 2016-08-31 23:54:34 -07:00
Phillip Hsu
2d6b21a3c9 New colors for dark theme palette. Toggle between start/pause icons for timer item. 2016-08-31 22:06:28 -07:00
Phillip Hsu
c21cbc1124 Themed icon colors for TimerViewHolder 2016-08-31 21:05:27 -07:00
Phillip Hsu
db3e60d4dc Thin font weight 2016-08-31 18:36:41 -07:00
Phillip Hsu
089121c86d Thin font weight 2016-08-31 17:38:09 -07:00
Phillip Hsu
3d043b0a77 Visual changes 2016-08-31 17:31:35 -07:00
Phillip Hsu
2daa1a196c Use theme overlay to get white chronometer text across both dark/light themes 2016-08-31 17:03:01 -07:00
Phillip Hsu
ca8be47550 Change background color of stopwatch chronometer to match theme's colorPrimary 2016-08-31 16:38:03 -07:00
Phillip Hsu
8a7e76e198 Comment about correcting divider color in bottom sheets 2016-08-31 16:29:01 -07:00
Phillip Hsu
04cf62f0d0 Correct list divider color according to theme 2016-08-31 15:44:35 -07:00
Phillip Hsu
c64cf04d22 Add dark app theme 2016-08-31 15:36:24 -07:00
Phillip Hsu
f5d9fb1a97 Change text color of time according to state of alarm 2016-08-31 03:49:20 -07:00
Phillip Hsu
0db0d7cf7a Apply alertDialogTheme in AppTheme to use accent color 2016-08-30 23:28:13 -07:00
Phillip Hsu
d0c8abe1f1 Use AddLabelDialog 2016-08-30 20:06:51 -07:00
Phillip Hsu
db7de897e0 Show keyboard on AddLabelDialog show 2016-08-30 19:57:59 -07:00
Phillip Hsu
1a9471d3c7 Change factory method signature 2016-08-30 18:50:17 -07:00
Phillip Hsu
d1f3fae2c3 Create AddLabelDialog and use in TimerViewHolder 2016-08-30 18:46:52 -07:00
Phillip Hsu
c2d86389b0 Increase label margin top 2016-08-30 17:42:46 -07:00
Phillip Hsu
e94a1fd3a5 Remove bottom padding from laps container in landscape 2016-08-30 17:32:18 -07:00
Phillip Hsu
e025f70965 Replace hardcoded dimens with dimen resources 2016-08-30 17:24:25 -07:00
Phillip Hsu
a7af4f84bb Give extra space at bottom of RecyclerView so the last item isn't covered by FAB 2016-08-30 17:02:37 -07:00
Phillip Hsu
d970505dd5 Revert to include fragment_recycler_view in Fragment layouts, programmatically set padding as needed. Replace hardcoded dimens with dimen resources. 2016-08-30 16:27:49 -07:00
Phillip Hsu
02fc6f2bdd Replace include of fragment_recycler_view with RecyclerView child due to different padding requirements 2016-08-30 02:54:32 -07:00
Phillip Hsu
43805076eb Fix timer item margin directions for portrait because RecyclerView has padding in those directions now 2016-08-30 02:44:46 -07:00
Phillip Hsu
2dc411f999 Create GridLayoutManager for TimersFragment in landscape 2016-08-30 02:39:18 -07:00
Phillip Hsu
be9aca1ede Create landscape layout for StopwatchFragment 2016-08-30 02:20:17 -07:00
Phillip Hsu
c0553b85b7 Restore Activity FAB's translationX on rotation 2016-08-29 22:37:49 -07:00
Phillip Hsu
925424c882 Restore mini FABs and Activity FAB correctly on rotate 2016-08-29 03:24:16 -07:00
Phillip Hsu
2daf03b754 Fixed SeekBar not animating after device rotation 2016-08-28 22:32:16 -07:00
Phillip Hsu
b03c6123e9 Changed ProgressBar to SeekBar 2016-08-28 17:18:52 -07:00
Phillip Hsu
85d78e566b Changed ProgressBar to SeekBar 2016-08-28 04:23:45 -07:00
Phillip Hsu
e48bb036ac Comment out testing code 2016-08-28 01:21:32 -07:00
Phillip Hsu
9b886dfe5b Restore correct order of primary and secondary texts 2016-08-27 03:15:00 -07:00
Phillip Hsu
fa3dcea9bf 24 hour selection indicator restored on rotate 2016-08-27 00:18:15 -07:00
Phillip Hsu
be66d43e4c Minute selection indicator restored on rotate 2016-08-26 23:27:45 -07:00
Phillip Hsu
ee77105a8e Selection indicator restored on rotate 2016-08-26 21:14:48 -07:00
Phillip Hsu
591bc6d680 Fixed FAB enabled color not restoring correctly 2016-08-26 03:35:57 -07:00
Phillip Hsu
07277163ae ampm instance state saved and restored 2016-08-26 03:12:05 -07:00
Phillip Hsu
5188b7e128 Fix 24 hour numpad not disabling FAB for invalid 3-digit times upon backspacing 2016-08-25 17:35:29 -07:00
Phillip Hsu
eaff0fcb5d Only update FAB state if last state is different from new state 2016-08-25 15:34:18 -07:00
Phillip Hsu
e99b964d9b Removed remnant of selectableItemBackgroundBorderless along edges when animating from hours index to minutes index 2016-08-25 15:05:49 -07:00
Phillip Hsu
fd57663b86 Tint selectableItemBackground with accent color for versions below 21 2016-08-24 22:24:49 -07:00
Phillip Hsu
f2e25cb261 Tint selectableItemBackground with accent color 2016-08-24 19:43:24 -07:00
Phillip Hsu
29086b4b02 Removed unused attribute 2016-08-24 03:35:37 -07:00
Phillip Hsu
841a54e3f5 Created landscape layout for numeric keypad picker 2016-08-24 03:34:59 -07:00
Phillip Hsu
2d4d661d7f 24 hour grid fit to landscape mode 2016-08-24 02:20:36 -07:00
Phillip Hsu
742d5f3b1e Created landscape layout for number grid 2016-08-24 01:23:01 -07:00
Phillip Hsu
a76fa47768 Animation between indices 2016-08-23 03:07:52 -07:00
Phillip Hsu
98b6c44a47 Changed font weight of primary text of TwentyFourHourGridItem for v21 2016-08-22 22:00:42 -07:00
Phillip Hsu
9588ad2b96 Correct dark theme divider color for number grid 2016-08-22 18:52:15 -07:00
Phillip Hsu
2a285c0558 Replaced extra vector drawable resources with programmatic tinting 2016-08-22 18:21:12 -07:00
Phillip Hsu
322682823f Animate FAB elevation in numpad 2016-08-22 16:45:13 -07:00
Phillip Hsu
c0d100d165 Numpad looking good 2016-08-22 03:45:58 -07:00
Phillip Hsu
9b7ab3e644 Fixed text colors confusion 2016-08-21 02:16:29 -07:00
Phillip Hsu
a473f3fd2c Appearance changes to NumberGridTimePickerDialog 2016-08-20 04:05:09 -07:00
Phillip Hsu
abd1551bc3 Updated layout of NumpadTimePickerDialog 2016-08-17 16:51:40 -07:00
Phillip Hsu
3732246bb7 Depcrecated EditAlarmActivity, moved some code to AlarmFragment and ExpandedAlarmViewHolder 2016-08-17 01:08:37 -07:00
Phillip Hsu
e408a7467a Apply new icons 2016-08-16 02:40:22 -07:00
Phillip Hsu
7ae7c0f174 Fixed incorrect visibilities of mini FABs for stopwatch page 2016-08-15 23:52:00 -07:00
Phillip Hsu
a21d973f71 Refactor AlarmCountdown 2016-08-15 17:25:59 -07:00
Phillip Hsu
a7861a04c1 Icons 2016-08-15 15:28:18 -07:00
Phillip Hsu
b1f3c9c8c7 Change ArrayList to SparseArray for ViewPager adapter's collection of Fragments 2016-08-14 01:23:15 -07:00
Phillip Hsu
04158bb6a8 Fixed bug where scrolling the ViewPager and quickly clicking the FAB called the previous Fragment's onFabClick() 2016-08-14 00:41:25 -07:00
Phillip Hsu
15afc01735 Translate FAB when scrolling between stopwatch page 2016-08-13 23:15:26 -07:00
Phillip Hsu
7dfda796f3 Implemented stopwatch page 2016-08-12 20:58:01 -07:00
Phillip Hsu
3e542f585e New preferences for timers 2016-08-08 18:58:07 -07:00
Phillip Hsu
74ec0fd883 Animated progress bar 2016-08-08 02:57:21 -07:00
Phillip Hsu
07de78e8e7 Implemented timer actions in ringtone activity 2016-08-06 03:40:29 -07:00
Phillip Hsu
6b7c9cedee New ringtone activity layout 2016-08-06 03:34:53 -07:00
Phillip Hsu
29194f241f Show auto silence view 2016-08-06 02:52:49 -07:00
Phillip Hsu
d845f241e9 New ringtone activity layout 2016-08-06 00:06:15 -07:00
Phillip Hsu
6ae9c3511c Expired timer notification 2016-08-05 01:58:43 -07:00
Phillip Hsu
8dea6301aa Implement notification actions for timers 2016-08-05 01:06:26 -07:00
Phillip Hsu
25c544df43 Pass alarm directly to AlarmActivity and AlarmRingtoneService 2016-08-04 02:51:50 -07:00
Phillip Hsu
9e4369282d Created TimerNotificationService, TimesUpActivity. Schedule alarms with AlarmManager for timers. 2016-08-03 03:26:53 -07:00
Phillip Hsu
6f8d22f15b Timers persisted correctly, chronometer and buttons bind correctly 2016-08-02 17:25:14 -07:00
Phillip Hsu
992e091db7 Replaced all usages of DatabaseManager with AlarmsTableManager 2016-08-01 19:06:46 -07:00