From 7c6a63c8158a39c3813f3da761c2033e46e7cdc6 Mon Sep 17 00:00:00 2001 From: Fahim Salam Chowdhury Date: Fri, 30 Jul 2021 15:38:02 +0000 Subject: [PATCH] Contacts: /e/ UI Dark Mode Implementation --- Android.bp | 1 + AndroidManifest.xml | 4 +- res/drawable/fab_bg.xml | 2 +- res/drawable/ic_add_circle_24dp.xml | 2 +- res/drawable/ic_add_contact_shortcut.xml | 2 +- res/drawable/ic_work_profile.xml | 2 +- .../item_background_material_dark.xml | 2 +- .../quantum_ic_account_circle_vd_theme_24.xml | 4 +- res/drawable/quantum_ic_add_vd_theme_24.xml | 4 +- .../quantum_ic_arrow_back_vd_theme_24.xml | 4 +- ...antum_ic_arrow_back_white_vd_theme_24.xml} | 18 +- ...quantum_ic_arrow_drop_down_vd_theme_24.xml | 4 +- .../quantum_ic_assistant_vd_theme_24.xml | 4 +- .../quantum_ic_business_vd_theme_24.xml | 4 +- .../quantum_ic_call_received_vd_theme_24.xml | 4 +- .../quantum_ic_camera_alt_vd_theme_24.xml | 6 +- .../quantum_ic_cancel_vd_theme_24.xml | 4 +- .../quantum_ic_circles_ext_vd_theme_24.xml | 4 +- res/drawable/quantum_ic_close_vd_theme_24.xml | 4 +- .../quantum_ic_content_copy_vd_theme_24.xml | 4 +- .../quantum_ic_create_vd_theme_24.xml | 4 +- .../quantum_ic_create_white_vd_theme_24.xml | 25 +++ .../quantum_ic_delete_vd_theme_24.xml | 4 +- .../quantum_ic_dialer_sip_vd_theme_24.xml | 4 +- .../quantum_ic_directions_vd_theme_24.xml | 4 +- res/drawable/quantum_ic_done_vd_theme_24.xml | 4 +- .../quantum_ic_drawer_emergency_info_24.xml | 4 +- res/drawable/quantum_ic_drawer_my_info_32.xml | 6 +- res/drawable/quantum_ic_email_vd_theme_24.xml | 4 +- res/drawable/quantum_ic_error_vd_theme_24.xml | 4 +- res/drawable/quantum_ic_event_vd_theme_24.xml | 4 +- .../quantum_ic_expand_less_vd_theme_24.xml | 4 +- .../quantum_ic_expand_more_vd_theme_24.xml | 4 +- .../quantum_ic_hangout_vd_theme_24.xml | 4 +- .../quantum_ic_hangout_video_vd_theme_24.xml | 4 +- res/drawable/quantum_ic_help_vd_theme_24.xml | 4 +- .../quantum_ic_history_vd_theme_24.xml | 4 +- .../quantum_ic_insert_comment_vd_theme_24.xml | 4 +- res/drawable/quantum_ic_label_vd_theme_24.xml | 4 +- res/drawable/quantum_ic_link_vd_theme_24.xml | 4 +- res/drawable/quantum_ic_menu_vd_theme_24.xml | 4 +- .../quantum_ic_message_vd_theme_24.xml | 4 +- res/drawable/quantum_ic_mic_vd_theme_24.xml | 4 +- .../quantum_ic_more_vert_vd_theme_24.xml | 4 +- ...quantum_ic_more_vert_white_vd_theme_24.xml | 25 +++ .../quantum_ic_perm_phone_msg_vd_theme_24.xml | 4 +- .../quantum_ic_person_add_vd_theme_24.xml | 4 +- ...uantum_ic_person_add_white_vd_theme_24.xml | 25 +++ .../quantum_ic_person_vd_theme_24.xml | 4 +- res/drawable/quantum_ic_phone_vd_theme_24.xml | 4 +- res/drawable/quantum_ic_place_vd_theme_24.xml | 4 +- .../quantum_ic_public_vd_theme_24.xml | 4 +- .../quantum_ic_search_vd_theme_24.xml | 4 +- .../quantum_ic_settings_vd_theme_24.xml | 4 +- res/drawable/quantum_ic_share_vd_theme_24.xml | 4 +- .../quantum_ic_sim_card_vd_theme_24.xml | 4 +- .../quantum_ic_smartphone_vd_theme_24.xml | 4 +- .../quantum_ic_star_border_vd_theme_24.xml | 4 +- ...antum_ic_star_border_white_vd_theme_24.xml | 25 +++ res/drawable/quantum_ic_star_vd_theme_24.xml | 4 +- .../quantum_ic_star_white_vd_theme_24.xml | 25 +++ .../quantum_ic_videocam_vd_theme_24.xml | 4 +- .../quantum_launchscreen_contacts.xml | 2 +- res/layout-v23/edit_date_picker.xml | 1 + res/layout-v23/edit_spinner.xml | 2 + .../custom_contact_list_filter_group.xml | 2 +- res/layout/custom_pref_layout.xml | 54 ++++++ res/layout/custom_settings_toolbar.xml | 22 +++ res/layout/date_picker.xml | 3 +- res/layout/default_account_checkbox.xml | 2 +- res/layout/dialog_call_subject.xml | 2 +- res/layout/dialog_title.xml | 5 +- res/layout/drawer_item.xml | 1 - res/layout/edit_date_picker.xml | 1 + res/layout/edit_delete_button.xml | 2 +- res/layout/edit_spinner.xml | 2 + res/layout/editor_account_header.xml | 2 +- res/layout/floating_action_button.xml | 2 +- res/layout/fragment_sim_import.xml | 2 +- res/layout/name_edit_expansion_view.xml | 2 +- ...quickcontact_collapsed_suggestion_card.xml | 2 +- res/layout/quickcontact_content.xml | 2 +- .../quickcontact_title_and_phoneticname.xml | 4 +- res/layout/selection_bar.xml | 4 +- res/layout/sim_import_list_item_disabled.xml | 2 +- res/layout/structured_name_editor_view.xml | 1 + res/menu/edit_contact.xml | 4 +- res/menu/people_options.xml | 9 +- res/values-night-v27/styles.xml | 23 +++ res/values-night/colors.xml | 12 -- res/values-night/styles.xml | 4 + res/values-v27/styles.xml | 132 ++------------ res/values/colors.xml | 114 ++++++------ res/values/styles.xml | 168 ++++++++++++++---- res/xml/preference_about.xml | 118 +++++++----- res/xml/preference_display_options.xml | 74 +++++++- .../android/contacts/NonPhoneActivity.java | 2 +- .../contacts/activities/ActionBarAdapter.java | 2 +- .../ContactEditorAccountsChangedActivity.java | 2 +- .../activities/ContactEditorActivity.java | 8 - .../activities/ContactSelectionActivity.java | 11 +- .../contacts/activities/LicenseActivity.java | 40 ++++- .../contacts/activities/PeopleActivity.java | 16 +- .../activities/ShowOrCreateActivity.java | 2 +- .../contacts/detail/ContactDisplayUtils.java | 4 +- .../contacts/dialog/ClearFrequentsDialog.java | 2 +- .../contacts/drawer/DrawerAdapter.java | 8 +- .../editor/CancelEditDialogFragment.java | 2 +- ...JoinContactConfirmationDialogFragment.java | 2 +- .../contacts/editor/LabeledEditorView.java | 2 +- .../editor/PhotoSourceDialogFragment.java | 33 ++-- .../editor/PickRawContactDialogFragment.java | 2 +- .../editor/SelectAccountDialogFragment.java | 2 +- ...plitContactConfirmationDialogFragment.java | 2 +- ...gestionEditConfirmationDialogFragment.java | 2 +- .../contacts/editor/TextFieldsEditorView.java | 2 + .../group/GroupNameEditDialogFragment.java | 75 ++++---- .../ContactDeletionInteraction.java | 2 +- .../ContactMultiDeletionInteraction.java | 27 +-- .../interactions/ExportDialogFragment.java | 6 +- .../GroupDeletionDialogFragment.java | 2 +- .../interactions/ImportDialogFragment.java | 6 +- .../contacts/list/AccountFilterActivity.java | 10 +- .../contacts/list/ContactListItemView.java | 2 +- .../list/CustomContactListFilterActivity.java | 14 +- .../DefaultContactBrowseListFragment.java | 4 +- .../list/EnableGlobalSyncDialogFragment.java | 2 +- .../preference/AboutPreferenceFragment.java | 62 ++++--- .../ContactsPreferenceActivity.java | 21 +-- .../contacts/preference/CustomPreference.java | 41 +++++ .../preference/DefaultAccountPreference.java | 13 ++ .../preference/DisplayOrderPreference.java | 14 ++ .../PhoneticNameDisplayPreference.java | 14 ++ .../preference/SortOrderPreference.java | 14 ++ .../quickcontact/QuickContactActivity.java | 29 ++- .../contacts/util/AccountSelectionUtil.java | 2 +- .../contacts/util/MaterialColorMapUtils.java | 2 +- .../contacts/vcard/CancelActivity.java | 4 +- .../contacts/vcard/ExportVCardActivity.java | 2 +- .../contacts/vcard/ImportVCardActivity.java | 2 +- .../vcard/ImportVCardDialogFragment.java | 2 +- .../SelectPhoneAccountDialogFragment.java | 2 +- tests/res/layout/fill_call_log_test.xml | 2 +- 143 files changed, 1035 insertions(+), 627 deletions(-) rename res/{color/contact_list_name_text_color.xml => drawable/quantum_ic_arrow_back_white_vd_theme_24.xml} (54%) create mode 100644 res/drawable/quantum_ic_create_white_vd_theme_24.xml create mode 100644 res/drawable/quantum_ic_more_vert_white_vd_theme_24.xml create mode 100644 res/drawable/quantum_ic_person_add_white_vd_theme_24.xml create mode 100644 res/drawable/quantum_ic_star_border_white_vd_theme_24.xml create mode 100644 res/drawable/quantum_ic_star_white_vd_theme_24.xml create mode 100644 res/layout/custom_pref_layout.xml create mode 100644 res/layout/custom_settings_toolbar.xml create mode 100644 res/values-night-v27/styles.xml delete mode 100644 res/values-night/colors.xml create mode 100644 res/values-night/styles.xml create mode 100644 src/com/android/contacts/preference/CustomPreference.java diff --git a/Android.bp b/Android.bp index 31ee993cdf..96cae0af6c 100644 --- a/Android.bp +++ b/Android.bp @@ -19,6 +19,7 @@ android_app { "androidx.recyclerview_recyclerview", "androidx.palette_palette", "androidx.legacy_legacy-support-v4", + "androidx.webkit_webkit", "android-common", "com.android.vcard", "guava", diff --git a/AndroidManifest.xml b/AndroidManifest.xml index eb5496c4e6..8593a6b7f1 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -287,7 +287,7 @@ + android:theme="@style/customDialogNoActionBar"> @@ -303,7 +303,7 @@ android:excludeFromRecents="true" android:launchMode="singleTop" android:taskAffinity="" - android:theme="@style/Theme.QuickContact" + android:theme="@style/Theme.QuickContact.White.TopBar" android:windowSoftInputMode="stateUnchanged"> diff --git a/res/drawable/fab_bg.xml b/res/drawable/fab_bg.xml index 007d3e2205..40e44017a7 100644 --- a/res/drawable/fab_bg.xml +++ b/res/drawable/fab_bg.xml @@ -4,7 +4,7 @@ android:shape="oval"> + android:color="@color/primary_color_dark"/> - diff --git a/res/drawable/ic_add_contact_shortcut.xml b/res/drawable/ic_add_contact_shortcut.xml index 85a7e61bd7..f56005ee1c 100644 --- a/res/drawable/ic_add_contact_shortcut.xml +++ b/res/drawable/ic_add_contact_shortcut.xml @@ -22,6 +22,6 @@ android:viewportWidth="192.0"> - diff --git a/res/drawable/ic_work_profile.xml b/res/drawable/ic_work_profile.xml index d30e8e1c10..168a5f9b33 100644 --- a/res/drawable/ic_work_profile.xml +++ b/res/drawable/ic_work_profile.xml @@ -5,5 +5,5 @@ android:viewportHeight="24.0"> + android:fillColor="@color/accent"/> diff --git a/res/drawable/item_background_material_dark.xml b/res/drawable/item_background_material_dark.xml index 87b1e17471..8437f61c1d 100644 --- a/res/drawable/item_background_material_dark.xml +++ b/res/drawable/item_background_material_dark.xml @@ -18,6 +18,6 @@ - + \ No newline at end of file diff --git a/res/drawable/quantum_ic_account_circle_vd_theme_24.xml b/res/drawable/quantum_ic_account_circle_vd_theme_24.xml index df2f6e7a63..cf08fb1415 100644 --- a/res/drawable/quantum_ic_account_circle_vd_theme_24.xml +++ b/res/drawable/quantum_ic_account_circle_vd_theme_24.xml @@ -19,8 +19,8 @@ android:height="24dp" android:viewportWidth="24.0" android:viewportHeight="24.0" - android:tint="?attr/colorControlNormal"> + android:tint="@color/accent"> diff --git a/res/drawable/quantum_ic_add_vd_theme_24.xml b/res/drawable/quantum_ic_add_vd_theme_24.xml index 627fc48c4e..8f76cfee2b 100644 --- a/res/drawable/quantum_ic_add_vd_theme_24.xml +++ b/res/drawable/quantum_ic_add_vd_theme_24.xml @@ -19,8 +19,8 @@ android:height="24dp" android:viewportWidth="24.0" android:viewportHeight="24.0" - android:tint="?attr/colorControlNormal"> + android:tint="@color/accent"> diff --git a/res/drawable/quantum_ic_arrow_back_vd_theme_24.xml b/res/drawable/quantum_ic_arrow_back_vd_theme_24.xml index 174cf12fba..6524874fea 100644 --- a/res/drawable/quantum_ic_arrow_back_vd_theme_24.xml +++ b/res/drawable/quantum_ic_arrow_back_vd_theme_24.xml @@ -19,8 +19,8 @@ android:height="24dp" android:viewportWidth="24.0" android:viewportHeight="24.0" - android:tint="?attr/colorControlNormal"> + android:tint="@color/accent"> diff --git a/res/color/contact_list_name_text_color.xml b/res/drawable/quantum_ic_arrow_back_white_vd_theme_24.xml similarity index 54% rename from res/color/contact_list_name_text_color.xml rename to res/drawable/quantum_ic_arrow_back_white_vd_theme_24.xml index 2327e2ae1b..aa7331fc6b 100644 --- a/res/color/contact_list_name_text_color.xml +++ b/res/drawable/quantum_ic_arrow_back_white_vd_theme_24.xml @@ -1,5 +1,4 @@ - - - - - - \ No newline at end of file + + + + \ No newline at end of file diff --git a/res/drawable/quantum_ic_arrow_drop_down_vd_theme_24.xml b/res/drawable/quantum_ic_arrow_drop_down_vd_theme_24.xml index 87c39de0b6..66ba35ca8c 100644 --- a/res/drawable/quantum_ic_arrow_drop_down_vd_theme_24.xml +++ b/res/drawable/quantum_ic_arrow_drop_down_vd_theme_24.xml @@ -19,8 +19,8 @@ android:height="24dp" android:viewportWidth="24.0" android:viewportHeight="24.0" - android:tint="?attr/colorControlNormal"> + android:tint="@color/accent"> diff --git a/res/drawable/quantum_ic_assistant_vd_theme_24.xml b/res/drawable/quantum_ic_assistant_vd_theme_24.xml index 2d5135bda9..ad48048dc0 100644 --- a/res/drawable/quantum_ic_assistant_vd_theme_24.xml +++ b/res/drawable/quantum_ic_assistant_vd_theme_24.xml @@ -19,8 +19,8 @@ android:height="24dp" android:viewportWidth="24.0" android:viewportHeight="24.0" - android:tint="?attr/colorControlNormal"> + android:tint="@color/accent"> diff --git a/res/drawable/quantum_ic_business_vd_theme_24.xml b/res/drawable/quantum_ic_business_vd_theme_24.xml index 684265b4f4..b523eec080 100644 --- a/res/drawable/quantum_ic_business_vd_theme_24.xml +++ b/res/drawable/quantum_ic_business_vd_theme_24.xml @@ -19,8 +19,8 @@ android:height="24dp" android:viewportWidth="24.0" android:viewportHeight="24.0" - android:tint="?attr/colorControlNormal"> + android:tint="@color/accent"> \ No newline at end of file diff --git a/res/drawable/quantum_ic_call_received_vd_theme_24.xml b/res/drawable/quantum_ic_call_received_vd_theme_24.xml index 3793f74b73..69887b0266 100644 --- a/res/drawable/quantum_ic_call_received_vd_theme_24.xml +++ b/res/drawable/quantum_ic_call_received_vd_theme_24.xml @@ -19,8 +19,8 @@ android:height="24dp" android:viewportWidth="24.0" android:viewportHeight="24.0" - android:tint="?attr/colorControlNormal"> + android:tint="@color/accent"> \ No newline at end of file diff --git a/res/drawable/quantum_ic_camera_alt_vd_theme_24.xml b/res/drawable/quantum_ic_camera_alt_vd_theme_24.xml index 07ed76be11..c2605d37e3 100644 --- a/res/drawable/quantum_ic_camera_alt_vd_theme_24.xml +++ b/res/drawable/quantum_ic_camera_alt_vd_theme_24.xml @@ -19,11 +19,11 @@ android:height="24dp" android:viewportWidth="24.0" android:viewportHeight="24.0" - android:tint="?attr/colorControlNormal"> + android:tint="@color/accent"> diff --git a/res/drawable/quantum_ic_cancel_vd_theme_24.xml b/res/drawable/quantum_ic_cancel_vd_theme_24.xml index 409ba75eb2..d6fa914bc1 100644 --- a/res/drawable/quantum_ic_cancel_vd_theme_24.xml +++ b/res/drawable/quantum_ic_cancel_vd_theme_24.xml @@ -19,8 +19,8 @@ android:height="24dp" android:viewportWidth="24.0" android:viewportHeight="24.0" - android:tint="?attr/colorControlNormal"> + android:tint="@color/accent"> diff --git a/res/drawable/quantum_ic_circles_ext_vd_theme_24.xml b/res/drawable/quantum_ic_circles_ext_vd_theme_24.xml index 73baff2682..f29bf0b91c 100644 --- a/res/drawable/quantum_ic_circles_ext_vd_theme_24.xml +++ b/res/drawable/quantum_ic_circles_ext_vd_theme_24.xml @@ -19,8 +19,8 @@ android:height="24dp" android:viewportWidth="24.0" android:viewportHeight="24.0" - android:tint="?attr/colorControlNormal"> + android:tint="@color/accent"> diff --git a/res/drawable/quantum_ic_close_vd_theme_24.xml b/res/drawable/quantum_ic_close_vd_theme_24.xml index 3809f5c35c..687efeaaff 100644 --- a/res/drawable/quantum_ic_close_vd_theme_24.xml +++ b/res/drawable/quantum_ic_close_vd_theme_24.xml @@ -19,8 +19,8 @@ android:height="24dp" android:viewportWidth="24.0" android:viewportHeight="24.0" - android:tint="?attr/colorControlNormal"> + android:tint="@color/accent"> diff --git a/res/drawable/quantum_ic_content_copy_vd_theme_24.xml b/res/drawable/quantum_ic_content_copy_vd_theme_24.xml index b43eb4aada..9776c7f2eb 100644 --- a/res/drawable/quantum_ic_content_copy_vd_theme_24.xml +++ b/res/drawable/quantum_ic_content_copy_vd_theme_24.xml @@ -19,8 +19,8 @@ android:height="24dp" android:viewportWidth="24.0" android:viewportHeight="24.0" - android:tint="?attr/colorControlNormal"> + android:tint="@color/accent"> diff --git a/res/drawable/quantum_ic_create_vd_theme_24.xml b/res/drawable/quantum_ic_create_vd_theme_24.xml index 8f161bc438..18b0b1142e 100644 --- a/res/drawable/quantum_ic_create_vd_theme_24.xml +++ b/res/drawable/quantum_ic_create_vd_theme_24.xml @@ -19,8 +19,8 @@ android:height="24dp" android:viewportWidth="24.0" android:viewportHeight="24.0" - android:tint="?attr/colorControlNormal"> + android:tint="@color/accent"> diff --git a/res/drawable/quantum_ic_create_white_vd_theme_24.xml b/res/drawable/quantum_ic_create_white_vd_theme_24.xml new file mode 100644 index 0000000000..842a3cc622 --- /dev/null +++ b/res/drawable/quantum_ic_create_white_vd_theme_24.xml @@ -0,0 +1,25 @@ + + + + + \ No newline at end of file diff --git a/res/drawable/quantum_ic_delete_vd_theme_24.xml b/res/drawable/quantum_ic_delete_vd_theme_24.xml index 698a0bcfed..f4ca0a3102 100644 --- a/res/drawable/quantum_ic_delete_vd_theme_24.xml +++ b/res/drawable/quantum_ic_delete_vd_theme_24.xml @@ -19,8 +19,8 @@ android:height="24dp" android:viewportWidth="24.0" android:viewportHeight="24.0" - android:tint="?attr/colorControlNormal"> + android:tint="@color/accent"> diff --git a/res/drawable/quantum_ic_dialer_sip_vd_theme_24.xml b/res/drawable/quantum_ic_dialer_sip_vd_theme_24.xml index 6ef33dbd0d..d2fb20e48e 100644 --- a/res/drawable/quantum_ic_dialer_sip_vd_theme_24.xml +++ b/res/drawable/quantum_ic_dialer_sip_vd_theme_24.xml @@ -19,8 +19,8 @@ android:height="24dp" android:viewportWidth="24.0" android:viewportHeight="24.0" - android:tint="?attr/colorControlNormal"> + android:tint="@color/accent"> diff --git a/res/drawable/quantum_ic_directions_vd_theme_24.xml b/res/drawable/quantum_ic_directions_vd_theme_24.xml index 7da99e052f..9d142aea66 100644 --- a/res/drawable/quantum_ic_directions_vd_theme_24.xml +++ b/res/drawable/quantum_ic_directions_vd_theme_24.xml @@ -19,8 +19,8 @@ android:height="24dp" android:viewportWidth="24.0" android:viewportHeight="24.0" - android:tint="?attr/colorControlNormal"> + android:tint="@color/accent"> \ No newline at end of file diff --git a/res/drawable/quantum_ic_done_vd_theme_24.xml b/res/drawable/quantum_ic_done_vd_theme_24.xml index 0c810e80e4..bd15ece8d0 100644 --- a/res/drawable/quantum_ic_done_vd_theme_24.xml +++ b/res/drawable/quantum_ic_done_vd_theme_24.xml @@ -19,8 +19,8 @@ android:height="24dp" android:viewportWidth="24.0" android:viewportHeight="24.0" - android:tint="?attr/colorControlNormal"> + android:tint="@color/accent"> diff --git a/res/drawable/quantum_ic_drawer_emergency_info_24.xml b/res/drawable/quantum_ic_drawer_emergency_info_24.xml index 6b6a14336b..5850be17ca 100644 --- a/res/drawable/quantum_ic_drawer_emergency_info_24.xml +++ b/res/drawable/quantum_ic_drawer_emergency_info_24.xml @@ -3,8 +3,8 @@ android:height="24dp" android:viewportWidth="24.0" android:viewportHeight="24.0" - android:tint="?attr/colorControlNormal"> + android:tint="@color/accent"> + android:fillColor="@color/accent"/> diff --git a/res/drawable/quantum_ic_drawer_my_info_32.xml b/res/drawable/quantum_ic_drawer_my_info_32.xml index 4e310cb4a1..7a7ced3706 100644 --- a/res/drawable/quantum_ic_drawer_my_info_32.xml +++ b/res/drawable/quantum_ic_drawer_my_info_32.xml @@ -5,15 +5,15 @@ android:viewportHeight="32.0"> + android:fillColor="@color/accent"/> diff --git a/res/drawable/quantum_ic_email_vd_theme_24.xml b/res/drawable/quantum_ic_email_vd_theme_24.xml index 724f45a770..4c7b3327fd 100644 --- a/res/drawable/quantum_ic_email_vd_theme_24.xml +++ b/res/drawable/quantum_ic_email_vd_theme_24.xml @@ -19,8 +19,8 @@ android:height="24dp" android:viewportWidth="24.0" android:viewportHeight="24.0" - android:tint="?attr/colorControlNormal"> + android:tint="@color/accent"> diff --git a/res/drawable/quantum_ic_error_vd_theme_24.xml b/res/drawable/quantum_ic_error_vd_theme_24.xml index b9dbeb41db..6381d6be1d 100644 --- a/res/drawable/quantum_ic_error_vd_theme_24.xml +++ b/res/drawable/quantum_ic_error_vd_theme_24.xml @@ -19,8 +19,8 @@ android:height="24dp" android:viewportWidth="24.0" android:viewportHeight="24.0" - android:tint="?attr/colorControlNormal"> + android:tint="@color/accent"> diff --git a/res/drawable/quantum_ic_event_vd_theme_24.xml b/res/drawable/quantum_ic_event_vd_theme_24.xml index e0107b1231..1d5f63dc6e 100644 --- a/res/drawable/quantum_ic_event_vd_theme_24.xml +++ b/res/drawable/quantum_ic_event_vd_theme_24.xml @@ -19,8 +19,8 @@ android:height="24dp" android:viewportWidth="24.0" android:viewportHeight="24.0" - android:tint="?attr/colorControlNormal"> + android:tint="@color/accent"> diff --git a/res/drawable/quantum_ic_expand_less_vd_theme_24.xml b/res/drawable/quantum_ic_expand_less_vd_theme_24.xml index 2f60a68c04..c48e5bc51e 100644 --- a/res/drawable/quantum_ic_expand_less_vd_theme_24.xml +++ b/res/drawable/quantum_ic_expand_less_vd_theme_24.xml @@ -19,8 +19,8 @@ android:height="24dp" android:viewportWidth="24.0" android:viewportHeight="24.0" - android:tint="?attr/colorControlNormal"> + android:tint="@color/accent"> diff --git a/res/drawable/quantum_ic_expand_more_vd_theme_24.xml b/res/drawable/quantum_ic_expand_more_vd_theme_24.xml index 9fbfe48ec3..8d85b3a05b 100644 --- a/res/drawable/quantum_ic_expand_more_vd_theme_24.xml +++ b/res/drawable/quantum_ic_expand_more_vd_theme_24.xml @@ -19,8 +19,8 @@ android:height="24dp" android:viewportWidth="24.0" android:viewportHeight="24.0" - android:tint="?attr/colorControlNormal"> + android:tint="@color/accent"> diff --git a/res/drawable/quantum_ic_hangout_vd_theme_24.xml b/res/drawable/quantum_ic_hangout_vd_theme_24.xml index ab07ba8fd0..65b9bfb5f9 100644 --- a/res/drawable/quantum_ic_hangout_vd_theme_24.xml +++ b/res/drawable/quantum_ic_hangout_vd_theme_24.xml @@ -19,8 +19,8 @@ android:height="24dp" android:viewportWidth="24.0" android:viewportHeight="24.0" - android:tint="?attr/colorControlNormal"> + android:tint="@color/accent"> diff --git a/res/drawable/quantum_ic_hangout_video_vd_theme_24.xml b/res/drawable/quantum_ic_hangout_video_vd_theme_24.xml index 1ce818a97d..03cb7c28c0 100644 --- a/res/drawable/quantum_ic_hangout_video_vd_theme_24.xml +++ b/res/drawable/quantum_ic_hangout_video_vd_theme_24.xml @@ -19,8 +19,8 @@ android:height="24dp" android:viewportWidth="24.0" android:viewportHeight="24.0" - android:tint="?attr/colorControlNormal"> + android:tint="@color/accent"> diff --git a/res/drawable/quantum_ic_help_vd_theme_24.xml b/res/drawable/quantum_ic_help_vd_theme_24.xml index 385d7204c9..b6734dfa8c 100644 --- a/res/drawable/quantum_ic_help_vd_theme_24.xml +++ b/res/drawable/quantum_ic_help_vd_theme_24.xml @@ -19,8 +19,8 @@ android:height="24dp" android:viewportWidth="24.0" android:viewportHeight="24.0" - android:tint="?attr/colorControlNormal"> + android:tint="@color/accent"> diff --git a/res/drawable/quantum_ic_history_vd_theme_24.xml b/res/drawable/quantum_ic_history_vd_theme_24.xml index 51621fd908..a4e9d517a8 100644 --- a/res/drawable/quantum_ic_history_vd_theme_24.xml +++ b/res/drawable/quantum_ic_history_vd_theme_24.xml @@ -19,8 +19,8 @@ android:height="24dp" android:viewportWidth="24.0" android:viewportHeight="24.0" - android:tint="?attr/colorControlNormal"> + android:tint="@color/accent"> diff --git a/res/drawable/quantum_ic_insert_comment_vd_theme_24.xml b/res/drawable/quantum_ic_insert_comment_vd_theme_24.xml index 247cb1bead..5b0c4bdda5 100644 --- a/res/drawable/quantum_ic_insert_comment_vd_theme_24.xml +++ b/res/drawable/quantum_ic_insert_comment_vd_theme_24.xml @@ -19,8 +19,8 @@ android:height="24dp" android:viewportWidth="24.0" android:viewportHeight="24.0" - android:tint="?attr/colorControlNormal"> + android:tint="@color/accent"> diff --git a/res/drawable/quantum_ic_label_vd_theme_24.xml b/res/drawable/quantum_ic_label_vd_theme_24.xml index 5630805057..529d2ae54e 100644 --- a/res/drawable/quantum_ic_label_vd_theme_24.xml +++ b/res/drawable/quantum_ic_label_vd_theme_24.xml @@ -19,8 +19,8 @@ android:height="24dp" android:viewportWidth="24.0" android:viewportHeight="24.0" - android:tint="?attr/colorControlNormal"> + android:tint="@color/accent"> diff --git a/res/drawable/quantum_ic_link_vd_theme_24.xml b/res/drawable/quantum_ic_link_vd_theme_24.xml index 67a167ebab..39ae3a36b4 100644 --- a/res/drawable/quantum_ic_link_vd_theme_24.xml +++ b/res/drawable/quantum_ic_link_vd_theme_24.xml @@ -19,8 +19,8 @@ android:height="24dp" android:viewportWidth="24.0" android:viewportHeight="24.0" - android:tint="?attr/colorControlNormal"> + android:tint="@color/accent"> diff --git a/res/drawable/quantum_ic_menu_vd_theme_24.xml b/res/drawable/quantum_ic_menu_vd_theme_24.xml index 5b5d7b76eb..98621658c3 100644 --- a/res/drawable/quantum_ic_menu_vd_theme_24.xml +++ b/res/drawable/quantum_ic_menu_vd_theme_24.xml @@ -19,8 +19,8 @@ android:height="24dp" android:viewportWidth="24.0" android:viewportHeight="24.0" - android:tint="?attr/colorControlNormal"> + android:tint="@color/accent"> diff --git a/res/drawable/quantum_ic_message_vd_theme_24.xml b/res/drawable/quantum_ic_message_vd_theme_24.xml index a06a1da6ef..7bd601ad02 100644 --- a/res/drawable/quantum_ic_message_vd_theme_24.xml +++ b/res/drawable/quantum_ic_message_vd_theme_24.xml @@ -19,8 +19,8 @@ android:height="24dp" android:viewportWidth="24.0" android:viewportHeight="24.0" - android:tint="?attr/colorControlNormal"> + android:tint="@color/accent"> diff --git a/res/drawable/quantum_ic_mic_vd_theme_24.xml b/res/drawable/quantum_ic_mic_vd_theme_24.xml index ea4bef41bd..8f0e462d2b 100644 --- a/res/drawable/quantum_ic_mic_vd_theme_24.xml +++ b/res/drawable/quantum_ic_mic_vd_theme_24.xml @@ -19,8 +19,8 @@ android:height="24dp" android:viewportWidth="24.0" android:viewportHeight="24.0" - android:tint="?attr/colorControlNormal"> + android:tint="@color/accent"> diff --git a/res/drawable/quantum_ic_more_vert_vd_theme_24.xml b/res/drawable/quantum_ic_more_vert_vd_theme_24.xml index 442451fe1c..9111f6f050 100644 --- a/res/drawable/quantum_ic_more_vert_vd_theme_24.xml +++ b/res/drawable/quantum_ic_more_vert_vd_theme_24.xml @@ -19,8 +19,8 @@ android:height="24dp" android:viewportWidth="24.0" android:viewportHeight="24.0" - android:tint="?attr/colorControlNormal"> + android:tint="@color/accent"> diff --git a/res/drawable/quantum_ic_more_vert_white_vd_theme_24.xml b/res/drawable/quantum_ic_more_vert_white_vd_theme_24.xml new file mode 100644 index 0000000000..3ae916e544 --- /dev/null +++ b/res/drawable/quantum_ic_more_vert_white_vd_theme_24.xml @@ -0,0 +1,25 @@ + + + + + \ No newline at end of file diff --git a/res/drawable/quantum_ic_perm_phone_msg_vd_theme_24.xml b/res/drawable/quantum_ic_perm_phone_msg_vd_theme_24.xml index d7e0fb430c..0026e9556a 100644 --- a/res/drawable/quantum_ic_perm_phone_msg_vd_theme_24.xml +++ b/res/drawable/quantum_ic_perm_phone_msg_vd_theme_24.xml @@ -19,8 +19,8 @@ android:height="24dp" android:viewportWidth="24.0" android:viewportHeight="24.0" - android:tint="?attr/colorControlNormal"> + android:tint="@color/accent"> diff --git a/res/drawable/quantum_ic_person_add_vd_theme_24.xml b/res/drawable/quantum_ic_person_add_vd_theme_24.xml index 48a017f334..c98d13339d 100644 --- a/res/drawable/quantum_ic_person_add_vd_theme_24.xml +++ b/res/drawable/quantum_ic_person_add_vd_theme_24.xml @@ -19,8 +19,8 @@ android:height="24dp" android:viewportWidth="24.0" android:viewportHeight="24.0" - android:tint="?attr/colorControlNormal"> + android:tint="@color/accent"> diff --git a/res/drawable/quantum_ic_person_add_white_vd_theme_24.xml b/res/drawable/quantum_ic_person_add_white_vd_theme_24.xml new file mode 100644 index 0000000000..64a1ce95c0 --- /dev/null +++ b/res/drawable/quantum_ic_person_add_white_vd_theme_24.xml @@ -0,0 +1,25 @@ + + + + + \ No newline at end of file diff --git a/res/drawable/quantum_ic_person_vd_theme_24.xml b/res/drawable/quantum_ic_person_vd_theme_24.xml index a5d9c8c063..aaee2f4af4 100644 --- a/res/drawable/quantum_ic_person_vd_theme_24.xml +++ b/res/drawable/quantum_ic_person_vd_theme_24.xml @@ -19,8 +19,8 @@ android:height="24dp" android:viewportWidth="24.0" android:viewportHeight="24.0" - android:tint="?attr/colorControlNormal"> + android:tint="@color/accent"> diff --git a/res/drawable/quantum_ic_phone_vd_theme_24.xml b/res/drawable/quantum_ic_phone_vd_theme_24.xml index 8d37e2bfed..226f010ed4 100644 --- a/res/drawable/quantum_ic_phone_vd_theme_24.xml +++ b/res/drawable/quantum_ic_phone_vd_theme_24.xml @@ -19,8 +19,8 @@ android:height="24dp" android:viewportWidth="24.0" android:viewportHeight="24.0" - android:tint="?attr/colorControlNormal"> + android:tint="@color/accent"> diff --git a/res/drawable/quantum_ic_place_vd_theme_24.xml b/res/drawable/quantum_ic_place_vd_theme_24.xml index 4276861aa7..442fdae8d0 100644 --- a/res/drawable/quantum_ic_place_vd_theme_24.xml +++ b/res/drawable/quantum_ic_place_vd_theme_24.xml @@ -19,8 +19,8 @@ android:height="24dp" android:viewportWidth="24.0" android:viewportHeight="24.0" - android:tint="?attr/colorControlNormal"> + android:tint="@color/accent"> diff --git a/res/drawable/quantum_ic_public_vd_theme_24.xml b/res/drawable/quantum_ic_public_vd_theme_24.xml index 6dffe5ce23..9509debf97 100644 --- a/res/drawable/quantum_ic_public_vd_theme_24.xml +++ b/res/drawable/quantum_ic_public_vd_theme_24.xml @@ -19,8 +19,8 @@ android:height="24dp" android:viewportWidth="24.0" android:viewportHeight="24.0" - android:tint="?attr/colorControlNormal"> + android:tint="@color/accent"> diff --git a/res/drawable/quantum_ic_search_vd_theme_24.xml b/res/drawable/quantum_ic_search_vd_theme_24.xml index 03dcbaa98b..8b86c55d1c 100644 --- a/res/drawable/quantum_ic_search_vd_theme_24.xml +++ b/res/drawable/quantum_ic_search_vd_theme_24.xml @@ -19,8 +19,8 @@ android:height="24dp" android:viewportWidth="24.0" android:viewportHeight="24.0" - android:tint="?attr/colorControlNormal"> + android:tint="@color/accent"> diff --git a/res/drawable/quantum_ic_settings_vd_theme_24.xml b/res/drawable/quantum_ic_settings_vd_theme_24.xml index 1867c79553..75a624fa13 100644 --- a/res/drawable/quantum_ic_settings_vd_theme_24.xml +++ b/res/drawable/quantum_ic_settings_vd_theme_24.xml @@ -19,8 +19,8 @@ android:height="24dp" android:viewportWidth="24.0" android:viewportHeight="24.0" - android:tint="?attr/colorControlNormal"> + android:tint="@color/accent"> diff --git a/res/drawable/quantum_ic_share_vd_theme_24.xml b/res/drawable/quantum_ic_share_vd_theme_24.xml index f024a22efd..14a315852b 100644 --- a/res/drawable/quantum_ic_share_vd_theme_24.xml +++ b/res/drawable/quantum_ic_share_vd_theme_24.xml @@ -19,8 +19,8 @@ android:height="24dp" android:viewportWidth="24.0" android:viewportHeight="24.0" - android:tint="?attr/colorControlNormal"> + android:tint="@color/accent"> diff --git a/res/drawable/quantum_ic_sim_card_vd_theme_24.xml b/res/drawable/quantum_ic_sim_card_vd_theme_24.xml index 2bc9387f6a..72721c92c7 100644 --- a/res/drawable/quantum_ic_sim_card_vd_theme_24.xml +++ b/res/drawable/quantum_ic_sim_card_vd_theme_24.xml @@ -19,8 +19,8 @@ android:height="24dp" android:viewportWidth="24.0" android:viewportHeight="24.0" - android:tint="?attr/colorControlNormal"> + android:tint="@color/accent"> diff --git a/res/drawable/quantum_ic_smartphone_vd_theme_24.xml b/res/drawable/quantum_ic_smartphone_vd_theme_24.xml index 9f987e75cb..7fa28695ae 100644 --- a/res/drawable/quantum_ic_smartphone_vd_theme_24.xml +++ b/res/drawable/quantum_ic_smartphone_vd_theme_24.xml @@ -19,8 +19,8 @@ android:height="24dp" android:viewportWidth="24.0" android:viewportHeight="24.0" - android:tint="?attr/colorControlNormal"> + android:tint="@color/accent"> diff --git a/res/drawable/quantum_ic_star_border_vd_theme_24.xml b/res/drawable/quantum_ic_star_border_vd_theme_24.xml index e266072cde..42f1d22f8c 100644 --- a/res/drawable/quantum_ic_star_border_vd_theme_24.xml +++ b/res/drawable/quantum_ic_star_border_vd_theme_24.xml @@ -19,8 +19,8 @@ android:height="24dp" android:viewportWidth="24.0" android:viewportHeight="24.0" - android:tint="?attr/colorControlNormal"> + android:tint="@color/accent"> diff --git a/res/drawable/quantum_ic_star_border_white_vd_theme_24.xml b/res/drawable/quantum_ic_star_border_white_vd_theme_24.xml new file mode 100644 index 0000000000..387287c970 --- /dev/null +++ b/res/drawable/quantum_ic_star_border_white_vd_theme_24.xml @@ -0,0 +1,25 @@ + + + + + diff --git a/res/drawable/quantum_ic_star_vd_theme_24.xml b/res/drawable/quantum_ic_star_vd_theme_24.xml index f5a93c6f03..c0ce965864 100644 --- a/res/drawable/quantum_ic_star_vd_theme_24.xml +++ b/res/drawable/quantum_ic_star_vd_theme_24.xml @@ -19,8 +19,8 @@ android:height="24dp" android:viewportWidth="24.0" android:viewportHeight="24.0" - android:tint="?attr/colorControlNormal"> + android:tint="@color/accent"> diff --git a/res/drawable/quantum_ic_star_white_vd_theme_24.xml b/res/drawable/quantum_ic_star_white_vd_theme_24.xml new file mode 100644 index 0000000000..7cb3e408bc --- /dev/null +++ b/res/drawable/quantum_ic_star_white_vd_theme_24.xml @@ -0,0 +1,25 @@ + + + + + \ No newline at end of file diff --git a/res/drawable/quantum_ic_videocam_vd_theme_24.xml b/res/drawable/quantum_ic_videocam_vd_theme_24.xml index 87408576b6..9aff1b4216 100644 --- a/res/drawable/quantum_ic_videocam_vd_theme_24.xml +++ b/res/drawable/quantum_ic_videocam_vd_theme_24.xml @@ -19,8 +19,8 @@ android:height="24dp" android:viewportWidth="24.0" android:viewportHeight="24.0" - android:tint="?attr/colorControlNormal"> + android:tint="@color/accent"> diff --git a/res/drawable/quantum_launchscreen_contacts.xml b/res/drawable/quantum_launchscreen_contacts.xml index 276b2da337..2785e6536e 100755 --- a/res/drawable/quantum_launchscreen_contacts.xml +++ b/res/drawable/quantum_launchscreen_contacts.xml @@ -16,7 +16,7 @@ - + diff --git a/res/layout-v23/edit_date_picker.xml b/res/layout-v23/edit_date_picker.xml index 299ccec685..f65d805861 100644 --- a/res/layout-v23/edit_date_picker.xml +++ b/res/layout-v23/edit_date_picker.xml @@ -19,6 +19,7 @@