From 3dcff2f5de0b2eafc2e04f698cf8f153a2e25e4f Mon Sep 17 00:00:00 2001 From: Keith Holliday Date: Tue, 12 Jul 2016 13:13:41 -0500 Subject: [PATCH] Fixed edit for new reminder dialogue. Added new date format --- Habitica/google-services.json | 73 ++++++++++++++++ .../res/layout/custom_date_time_dialogue.xml | 24 ++++++ .../{ui => }/helpers/TaskAlarmManager.java | 3 +- .../receivers/TaskAlarmBootReceiver.java | 2 +- .../habitica/receivers/TaskReceiver.java | 3 +- .../ui/activities/TaskFormActivity.java | 86 +++++++++++++------ .../ui/adapter/tasks/RemindersAdapter.java | 76 +++++++++++++--- .../lib/models/tasks/RemindersItem.java | 22 ++++- 8 files changed, 244 insertions(+), 45 deletions(-) create mode 100644 Habitica/google-services.json create mode 100644 Habitica/res/layout/custom_date_time_dialogue.xml rename Habitica/src/main/java/com/habitrpg/android/habitica/{ui => }/helpers/TaskAlarmManager.java (98%) diff --git a/Habitica/google-services.json b/Habitica/google-services.json new file mode 100644 index 000000000..9087babbb --- /dev/null +++ b/Habitica/google-services.json @@ -0,0 +1,73 @@ +{ + "project_info": { + "project_number": "726830572661", + "firebase_url": "https://habitica-android.firebaseio.com", + "project_id": "habitica-android", + "storage_bucket": "habitica-android.appspot.com" + }, + "client": [ + { + "client_info": { + "mobilesdk_app_id": "1:726830572661:android:d2e86a80d3b5f4f7", + "android_client_info": { + "package_name": "com.habitrpg.android.habitica" + } + }, + "oauth_client": [ + { + "client_id": "726830572661-e0bp1cplmf3v2sfl7e7goog768b7dv7b.apps.googleusercontent.com", + "client_type": 3 + } + ], + "api_key": [ + { + "current_key": "AIzaSyDbtO8iErLD14Gk42Gg48fijX1mzfPKzS8" + } + ], + "services": { + "analytics_service": { + "status": 1 + }, + "appinvite_service": { + "status": 1, + "other_platform_oauth_client": [] + }, + "ads_service": { + "status": 2 + } + } + }, + { + "client_info": { + "mobilesdk_app_id": "1:726830572661:android:ffd6914ad1a696e4", + "android_client_info": { + "package_name": "com.habitrpg.android.habitica.debug" + } + }, + "oauth_client": [ + { + "client_id": "726830572661-e0bp1cplmf3v2sfl7e7goog768b7dv7b.apps.googleusercontent.com", + "client_type": 3 + } + ], + "api_key": [ + { + "current_key": "AIzaSyDbtO8iErLD14Gk42Gg48fijX1mzfPKzS8" + } + ], + "services": { + "analytics_service": { + "status": 1 + }, + "appinvite_service": { + "status": 1, + "other_platform_oauth_client": [] + }, + "ads_service": { + "status": 2 + } + } + } + ], + "configuration_version": "1" +} \ No newline at end of file diff --git a/Habitica/res/layout/custom_date_time_dialogue.xml b/Habitica/res/layout/custom_date_time_dialogue.xml new file mode 100644 index 000000000..411fc249f --- /dev/null +++ b/Habitica/res/layout/custom_date_time_dialogue.xml @@ -0,0 +1,24 @@ + + + + + + + + + +