From 6af29b3d30d3d19e63433ece6747d30da762482b Mon Sep 17 00:00:00 2001 From: Fahim Date: Fri, 30 Apr 2021 02:09:04 +0600 Subject: [PATCH] 2827-P,Q-Implement Dark Mode Issue: https://gitlab.e.foundation/e/backlog/-/issues/2827 --- .idea/codeStyles/Project.xml | 8 - .idea/jarRepositories.xml | 30 ++ opentasks/e-ui-sdk.jar | Bin 124472 -> 124876 bytes opentasks/src/main/AndroidManifest.xml | 10 +- .../java/org/dmfs/tasks/AboutActivity.java | 33 +- .../java/org/dmfs/tasks/EditTaskActivity.java | 6 +- .../org/dmfs/tasks/ManageListActivity.java | 3 +- .../org/dmfs/tasks/SettingsListFragment.java | 3 +- .../org/dmfs/tasks/SyncSettingsActivity.java | 58 +-- .../java/org/dmfs/tasks/TaskListActivity.java | 419 +++++++++++------- .../java/org/dmfs/tasks/TaskListFragment.java | 30 +- .../java/org/dmfs/tasks/ViewTaskActivity.java | 3 +- .../java/org/dmfs/tasks/ViewTaskFragment.java | 15 +- .../TaskListWidgetUpdaterService.java | 2 +- .../PermissionRequestDialogFragment.java | 2 +- .../dmfs/tasks/widget/CheckListFieldView.java | 57 +-- .../widget/CheckListFieldViewLegacy.java | 4 +- .../dmfs/tasks/widget/TimeFieldEditor.java | 1 - .../src/main/res/color/due_date_text.xml | 2 +- .../src/main/res/color/overdue_date_text.xml | 2 +- .../res/color/task_list_subtitle_text.xml | 9 + .../main/res/color/task_list_title_text.xml | 4 +- .../src/main/res/drawable/custom_seekbar.xml | 15 + .../src/main/res/drawable/ic_arrow_back.xml | 2 +- .../res/drawable/ic_arrow_back_accent.xml | 26 ++ opentasks/src/main/res/drawable/ic_close.xml | 4 +- .../src/main/res/drawable/light_gray.xml | 2 +- .../src/main/res/drawable/overlay_bottom.xml | 6 +- .../src/main/res/drawable/overlay_top.xml | 6 +- .../main/res/drawable/rounded_edittext.xml | 2 +- .../task_progress_background_shade.xml | 2 +- .../main/res/drawable/widget_list_item_bg.xml | 6 +- .../drawable/widget_task_add_button_bg.xml | 2 +- .../res/layout/account_list_item_dialog.xml | 2 +- .../res/layout/activity_manage_task_list.xml | 2 +- .../src/main/res/layout/activity_settings.xml | 2 +- .../main/res/layout/activity_task_detail.xml | 1 - .../main/res/layout/activity_task_editor.xml | 1 - .../main/res/layout/activity_task_list.xml | 12 +- .../main/res/layout/activity_task_twopane.xml | 7 +- .../layout/activity_task_twopane_small.xml | 6 +- .../layout/activity_widget_configuration.xml | 1 - .../main/res/layout/boolean_field_editor.xml | 1 + .../main/res/layout/boolean_field_view.xml | 8 +- .../layout/checklist_field_editor_element.xml | 3 +- .../main/res/layout/checklist_field_view.xml | 8 +- .../layout/checklist_field_view_element.xml | 6 +- .../main/res/layout/choices_field_view.xml | 1 + .../res/layout/fragment_input_text_dialog.xml | 10 +- .../res/layout/fragment_quick_add_dialog.xml | 5 +- .../fragment_quick_add_dialog_header.xml | 2 +- .../res/layout/fragment_task_view_detail.xml | 34 +- .../layout/integer_choices_spinner_item.xml | 1 + .../res/layout/list_spinner_item_dropdown.xml | 2 +- .../layout/opentasks_location_field_view.xml | 1 + .../res/layout/percentage_field_editor.xml | 10 +- .../main/res/layout/percentage_field_view.xml | 11 +- .../src/main/res/layout/task_list_element.xml | 10 +- .../src/main/res/layout/task_list_group.xml | 3 +- .../layout/task_list_group_single_line.xml | 3 +- .../res/layout/task_list_provider_bar.xml | 4 - .../src/main/res/layout/task_list_widget.xml | 4 +- .../main/res/layout/task_list_widget_item.xml | 4 +- .../src/main/res/layout/text_field_view.xml | 1 + .../src/main/res/layout/time_field_editor.xml | 2 +- .../src/main/res/layout/time_field_view.xml | 11 +- .../src/main/res/layout/url_field_view.xml | 1 + .../res/layout/visible_task_list_item.xml | 2 +- .../src/main/res/values-large-land/styles.xml | 2 +- .../src/main/res/values-large/styles.xml | 4 +- .../src/main/res/values-night-v27/styles.xml | 17 + .../src/main/res/values-night/styles.xml | 3 + .../main/res/values-sw600dp-land/styles.xml | 2 +- .../src/main/res/values-sw600dp/styles.xml | 4 +- opentasks/src/main/res/values-v27/styles.xml | 18 + opentasks/src/main/res/values/colors.xml | 36 +- opentasks/src/main/res/values/styles.xml | 155 ++++--- 77 files changed, 715 insertions(+), 482 deletions(-) create mode 100644 .idea/jarRepositories.xml create mode 100644 opentasks/src/main/res/color/task_list_subtitle_text.xml create mode 100644 opentasks/src/main/res/drawable/custom_seekbar.xml create mode 100644 opentasks/src/main/res/drawable/ic_arrow_back_accent.xml create mode 100644 opentasks/src/main/res/values-night-v27/styles.xml create mode 100644 opentasks/src/main/res/values-night/styles.xml create mode 100644 opentasks/src/main/res/values-v27/styles.xml diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml index a20ef393..e3f27d1a 100644 --- a/.idea/codeStyles/Project.xml +++ b/.idea/codeStyles/Project.xml @@ -5,7 +5,6 @@