diff --git a/app/build.gradle b/app/build.gradle index eb716e9d1f..6246756c33 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -21,6 +21,9 @@ android { arguments = ["room.schemaLocation": "$projectDir/schemas".toString()] } } + + // https://developer.android.com/guide/topics/graphics/vector-drawable-resources + vectorDrawables.useSupportLibrary = true } signingConfigs { release { diff --git a/app/src/main/res/layout/action_button.xml b/app/src/main/res/layout/action_button.xml index da2cdb5c00..6b48b6d71d 100644 --- a/app/src/main/res/layout/action_button.xml +++ b/app/src/main/res/layout/action_button.xml @@ -1,6 +1,7 @@ + app:srcCompat="@drawable/baseline_folder_24" /> diff --git a/app/src/main/res/layout/fragment_account.xml b/app/src/main/res/layout/fragment_account.xml index 30b3ee1074..b19ce8d989 100644 --- a/app/src/main/res/layout/fragment_account.xml +++ b/app/src/main/res/layout/fragment_account.xml @@ -343,7 +343,7 @@ android:layout_marginStart="12dp" android:background="@null" android:contentDescription="@string/title_legend_default_color" - android:src="@drawable/baseline_delete_24" + app:srcCompat="@drawable/baseline_delete_24" app:layout_constraintBottom_toBottomOf="@id/btnColor" app:layout_constraintStart_toEndOf="@id/vwColor" app:layout_constraintTop_toTopOf="@id/btnColor" /> diff --git a/app/src/main/res/layout/fragment_accounts.xml b/app/src/main/res/layout/fragment_accounts.xml index 320627feab..3cec997b3a 100644 --- a/app/src/main/res/layout/fragment_accounts.xml +++ b/app/src/main/res/layout/fragment_accounts.xml @@ -47,7 +47,7 @@ android:layout_height="wrap_content" android:layout_gravity="end|bottom" android:layout_margin="@dimen/fab_padding" - android:src="@drawable/baseline_edit_24" + app:srcCompat="@drawable/baseline_edit_24" android:tint="@color/colorActionForeground" android:tooltipText="@string/title_compose" app:backgroundTint="?attr/colorAccent" /> @@ -58,7 +58,7 @@ android:layout_height="wrap_content" android:layout_gravity="end|bottom" android:layout_margin="@dimen/fab_padding" - android:src="@drawable/baseline_add_24" + app:srcCompat="@drawable/baseline_add_24" android:tint="@color/colorActionForeground" android:tooltipText="@string/title_add" app:backgroundTint="?attr/colorAccent" /> diff --git a/app/src/main/res/layout/fragment_answers.xml b/app/src/main/res/layout/fragment_answers.xml index 8b9091d52e..b45204ae52 100644 --- a/app/src/main/res/layout/fragment_answers.xml +++ b/app/src/main/res/layout/fragment_answers.xml @@ -47,7 +47,7 @@ android:layout_height="wrap_content" android:layout_gravity="end|bottom" android:layout_margin="@dimen/fab_padding" - android:src="@drawable/baseline_add_24" + app:srcCompat="@drawable/baseline_add_24" android:tint="@color/colorActionForeground" android:tooltipText="@string/title_add" app:backgroundTint="?attr/colorAccent" /> diff --git a/app/src/main/res/layout/fragment_compose.xml b/app/src/main/res/layout/fragment_compose.xml index ec59c16f42..9445ca909b 100644 --- a/app/src/main/res/layout/fragment_compose.xml +++ b/app/src/main/res/layout/fragment_compose.xml @@ -71,7 +71,7 @@ android:layout_marginStart="6dp" android:layout_marginEnd="6dp" android:contentDescription="@string/title_legend_pick" - android:src="@drawable/baseline_person_24" + app:srcCompat="@drawable/baseline_person_24" app:layout_constraintBottom_toBottomOf="@id/etTo" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toEndOf="@id/etTo" @@ -97,7 +97,7 @@ android:layout_marginStart="6dp" android:layout_marginEnd="6dp" android:contentDescription="@string/title_legend_pick" - android:src="@drawable/baseline_person_24" + app:srcCompat="@drawable/baseline_person_24" app:layout_constraintBottom_toBottomOf="@id/etCc" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toEndOf="@id/etCc" @@ -123,7 +123,7 @@ android:layout_marginStart="6dp" android:layout_marginEnd="6dp" android:contentDescription="@string/title_legend_pick" - android:src="@drawable/baseline_person_24" + app:srcCompat="@drawable/baseline_person_24" app:layout_constraintBottom_toBottomOf="@id/etBcc" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toEndOf="@id/etBcc" @@ -149,7 +149,7 @@ android:layout_marginStart="6dp" android:layout_marginEnd="6dp" android:contentDescription="@string/title_show_addresses" - android:src="@drawable/baseline_people_24" + app:srcCompat="@drawable/baseline_people_24" app:layout_constraintBottom_toBottomOf="@id/etSubject" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toEndOf="@id/etSubject" @@ -286,7 +286,7 @@ android:layout_height="wrap_content" android:layout_marginEnd="6dp" android:contentDescription="@string/title_legend_edit" - android:src="@drawable/baseline_edit_24" + app:srcCompat="@drawable/baseline_edit_24" app:layout_constraintEnd_toStartOf="@+id/ibReferenceImages" app:layout_constraintTop_toTopOf="@id/tvReferenceHint" /> @@ -296,7 +296,7 @@ android:layout_height="wrap_content" android:layout_marginEnd="6dp" android:contentDescription="@string/title_legend_show_images" - android:src="@drawable/baseline_image_24" + app:srcCompat="@drawable/baseline_image_24" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintTop_toTopOf="@id/tvReferenceHint" /> diff --git a/app/src/main/res/layout/fragment_folders.xml b/app/src/main/res/layout/fragment_folders.xml index a8884f3b23..54616e0122 100644 --- a/app/src/main/res/layout/fragment_folders.xml +++ b/app/src/main/res/layout/fragment_folders.xml @@ -36,7 +36,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:contentDescription="@string/title_legend_close_hint" - android:src="@drawable/baseline_close_24" + app:srcCompat="@drawable/baseline_close_24" app:layout_constraintBottom_toBottomOf="@id/tvHintActions" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintTop_toTopOf="@id/tvHintActions" /> @@ -71,7 +71,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:contentDescription="@string/title_legend_close_hint" - android:src="@drawable/baseline_close_24" + app:srcCompat="@drawable/baseline_close_24" app:layout_constraintBottom_toBottomOf="@id/tvHintSync" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintTop_toTopOf="@id/tvHintSync" /> @@ -135,7 +135,7 @@ android:layout_height="wrap_content" android:layout_gravity="end|bottom" android:layout_margin="@dimen/fab_padding" - android:src="@drawable/baseline_create_new_folder_24" + app:srcCompat="@drawable/baseline_create_new_folder_24" android:tint="@color/colorActionForeground" android:tooltipText="@string/title_add" app:backgroundTint="?attr/colorAccent" /> @@ -146,7 +146,7 @@ android:layout_height="wrap_content" android:layout_gravity="center_horizontal|bottom" android:layout_margin="@dimen/fab_padding" - android:src="@drawable/baseline_warning_24" + v="@drawable/baseline_warning_24" android:tint="@color/colorActionForeground" android:tooltipText="@string/title_compose" app:backgroundTint="@color/lightColorWarning" /> diff --git a/app/src/main/res/layout/fragment_identities.xml b/app/src/main/res/layout/fragment_identities.xml index 0715b5487f..c6b6bff28e 100644 --- a/app/src/main/res/layout/fragment_identities.xml +++ b/app/src/main/res/layout/fragment_identities.xml @@ -47,7 +47,7 @@ android:layout_height="wrap_content" android:layout_gravity="end|bottom" android:layout_margin="@dimen/fab_padding" - android:src="@drawable/baseline_add_24" + app:srcCompat="@drawable/baseline_add_24" android:tint="@color/colorActionForeground" android:tooltipText="@string/title_add" app:backgroundTint="?attr/colorAccent" /> diff --git a/app/src/main/res/layout/fragment_legend_compose.xml b/app/src/main/res/layout/fragment_legend_compose.xml index e40ca6c764..11c70118f6 100644 --- a/app/src/main/res/layout/fragment_legend_compose.xml +++ b/app/src/main/res/layout/fragment_legend_compose.xml @@ -23,7 +23,7 @@ android:layout_height="wrap_content" android:contentDescription="@string/title_legend_pick" android:padding="12dp" - android:src="@drawable/baseline_person_24" + app:srcCompat="@drawable/baseline_person_24" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" /> @@ -45,7 +45,7 @@ android:layout_height="wrap_content" android:contentDescription="@string/title_legend_cc" android:padding="12dp" - android:src="@drawable/baseline_people_24" + app:srcCompat="@drawable/baseline_people_24" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/ivPick" /> @@ -67,7 +67,7 @@ android:layout_height="wrap_content" android:contentDescription="@string/title_legend_link" android:padding="12dp" - android:src="@drawable/baseline_insert_link_24" + app:srcCompat="@drawable/baseline_insert_link_24" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/ivCC" /> @@ -89,7 +89,7 @@ android:layout_height="wrap_content" android:contentDescription="@string/title_legend_file" android:padding="12dp" - android:src="@drawable/baseline_attachment_24" + app:srcCompat="@drawable/baseline_attachment_24" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/ivLink" /> @@ -111,7 +111,7 @@ android:layout_height="wrap_content" android:contentDescription="@string/title_legend_picture" android:padding="12dp" - android:src="@drawable/baseline_image_24" + app:srcCompat="@drawable/baseline_image_24" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/ivFile" /> @@ -133,7 +133,7 @@ android:layout_height="wrap_content" android:contentDescription="@string/title_legend_photo" android:padding="12dp" - android:src="@drawable/baseline_photo_camera_24" + app:srcCompat="@drawable/baseline_photo_camera_24" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/ivPicture" /> @@ -155,7 +155,7 @@ android:layout_height="wrap_content" android:contentDescription="@string/title_legend_audio" android:padding="12dp" - android:src="@drawable/baseline_record_voice_over_24" + app:srcCompat="@drawable/baseline_record_voice_over_24" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/ivPhoto" /> @@ -177,7 +177,7 @@ android:layout_height="wrap_content" android:contentDescription="@string/title_legend_bold" android:padding="12dp" - android:src="@drawable/baseline_format_bold_24" + app:srcCompat="@drawable/baseline_format_bold_24" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/ivAudio" /> @@ -199,7 +199,7 @@ android:layout_height="wrap_content" android:contentDescription="@string/title_legend_italic" android:padding="12dp" - android:src="@drawable/baseline_format_italic_24" + app:srcCompat="@drawable/baseline_format_italic_24" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/ivBold" /> @@ -221,7 +221,7 @@ android:layout_height="wrap_content" android:contentDescription="@string/title_legend_underline" android:padding="12dp" - android:src="@drawable/baseline_format_underlined_24" + app:srcCompat="@drawable/baseline_format_underlined_24" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/ivItalic" /> @@ -243,7 +243,7 @@ android:layout_height="wrap_content" android:contentDescription="@string/title_legend_text_size" android:padding="12dp" - android:src="@drawable/baseline_format_size_24" + app:srcCompat="@drawable/baseline_format_size_24" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/ivUnderline" /> @@ -265,7 +265,7 @@ android:layout_height="wrap_content" android:contentDescription="@string/title_legend_text_color" android:padding="12dp" - android:src="@drawable/baseline_format_color_text_24" + app:srcCompat="@drawable/baseline_format_color_text_24" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/ivSize" /> diff --git a/app/src/main/res/layout/fragment_legend_folders.xml b/app/src/main/res/layout/fragment_legend_folders.xml index 7d444384bd..8e29d97f9e 100644 --- a/app/src/main/res/layout/fragment_legend_folders.xml +++ b/app/src/main/res/layout/fragment_legend_folders.xml @@ -23,7 +23,7 @@ android:layout_height="wrap_content" android:contentDescription="@string/title_legend_unified" android:padding="12dp" - android:src="@drawable/baseline_folder_special_24" + app:srcCompat="@drawable/baseline_folder_special_24" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" /> @@ -45,7 +45,7 @@ android:layout_height="wrap_content" android:contentDescription="@string/title_legend_inbox" android:padding="12dp" - android:src="@drawable/baseline_inbox_24" + app:srcCompat="@drawable/baseline_inbox_24" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/ivType" /> @@ -67,7 +67,7 @@ android:layout_height="wrap_content" android:contentDescription="@string/title_legend_drafts" android:padding="12dp" - android:src="@drawable/baseline_drafts_24" + app:srcCompat="@drawable/baseline_drafts_24" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/ivInbox" /> @@ -89,7 +89,7 @@ android:layout_height="wrap_content" android:contentDescription="@string/title_legend_sent" android:padding="12dp" - android:src="@drawable/baseline_send_24" + app:srcCompat="@drawable/baseline_send_24" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/ivDrafts" /> @@ -111,7 +111,7 @@ android:layout_height="wrap_content" android:contentDescription="@string/title_legend_archive" android:padding="12dp" - android:src="@drawable/baseline_archive_24" + app:srcCompat="@drawable/baseline_archive_24" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/ivSent" /> @@ -133,7 +133,7 @@ android:layout_height="wrap_content" android:contentDescription="@string/title_legend_trash" android:padding="12dp" - android:src="@drawable/baseline_delete_24" + app:srcCompat="@drawable/baseline_delete_24" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/ivArchive" /> @@ -155,7 +155,7 @@ android:layout_height="wrap_content" android:contentDescription="@string/title_legend_junk" android:padding="12dp" - android:src="@drawable/baseline_flag_24" + app:srcCompat="@drawable/baseline_flag_24" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/ivTrash" /> @@ -177,7 +177,7 @@ android:layout_height="wrap_content" android:contentDescription="@string/title_legend_primary" android:padding="12dp" - android:src="@drawable/baseline_star_24" + app:srcCompat="@drawable/baseline_star_24" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/ivJunk" /> @@ -199,7 +199,7 @@ android:layout_height="wrap_content" android:contentDescription="@string/title_legend_notify" android:padding="12dp" - android:src="@drawable/baseline_notifications_24" + app:srcCompat="@drawable/baseline_notifications_24" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/ivPrimary" /> @@ -221,7 +221,7 @@ android:layout_height="wrap_content" android:contentDescription="@string/title_legend_subscribed" android:padding="12dp" - android:src="@drawable/baseline_bookmark_24" + app:srcCompat="@drawable/baseline_bookmark_24" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/ivNotify" /> @@ -254,7 +254,7 @@ android:layout_height="wrap_content" android:contentDescription="@string/title_legend_download_fetch" android:padding="12dp" - android:src="@drawable/baseline_mail_outline_24" + app:srcCompat="@drawable/baseline_mail_outline_24" app:layout_constraintBottom_toBottomOf="@+id/tvDownloadFetchLegend" app:layout_constraintStart_toEndOf="@id/tvDownloadFetch" app:layout_constraintTop_toTopOf="@+id/tvDownloadFetchLegend" /> @@ -288,7 +288,7 @@ android:layout_height="wrap_content" android:contentDescription="@string/title_legend_sync_keep" android:padding="12dp" - android:src="@drawable/baseline_sync_24" + app:srcCompat="@drawable/baseline_sync_24" app:layout_constraintBottom_toBottomOf="@+id/tvSyncKeepLegend" app:layout_constraintStart_toEndOf="@id/tvSyncKeep" app:layout_constraintTop_toTopOf="@+id/tvSyncKeepLegend" /> @@ -311,7 +311,7 @@ android:layout_height="wrap_content" android:contentDescription="@string/title_legend_stop" android:padding="12dp" - android:src="@drawable/baseline_stop_24" + app:srcCompat="@drawable/baseline_stop_24" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/tvSyncKeepLegend" /> diff --git a/app/src/main/res/layout/fragment_legend_messages.xml b/app/src/main/res/layout/fragment_legend_messages.xml index 149f09683b..78db8ca6f4 100644 --- a/app/src/main/res/layout/fragment_legend_messages.xml +++ b/app/src/main/res/layout/fragment_legend_messages.xml @@ -23,7 +23,7 @@ android:layout_height="wrap_content" android:contentDescription="@string/title_legend_thread" android:padding="12dp" - android:src="@drawable/baseline_message_24" + app:srcCompat="@drawable/baseline_message_24" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" /> @@ -45,7 +45,7 @@ android:layout_height="wrap_content" android:contentDescription="@string/title_legend_zoom" android:padding="12dp" - android:src="@drawable/baseline_format_size_24" + app:srcCompat="@drawable/baseline_format_size_24" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/ivThread" /> @@ -67,7 +67,7 @@ android:layout_height="wrap_content" android:contentDescription="@string/title_legend_draft" android:padding="12dp" - android:src="@drawable/baseline_edit_24" + app:srcCompat="@drawable/baseline_edit_24" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/ivZoom" /> @@ -89,7 +89,7 @@ android:layout_height="wrap_content" android:contentDescription="@string/title_legend_snoozed" android:padding="12dp" - android:src="@drawable/baseline_timelapse_24" + app:srcCompat="@drawable/baseline_timelapse_24" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/ivDraft" /> @@ -111,7 +111,7 @@ android:layout_height="wrap_content" android:contentDescription="@string/title_legend_browsed" android:padding="12dp" - android:src="@drawable/baseline_playlist_add_24" + app:srcCompat="@drawable/baseline_playlist_add_24" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/ivSnoozed" /> @@ -133,7 +133,7 @@ android:layout_height="wrap_content" android:contentDescription="@string/title_legend_answered" android:padding="12dp" - android:src="@drawable/baseline_reply_24" + app:srcCompat="@drawable/baseline_reply_24" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/ivBrowsed" /> @@ -155,7 +155,7 @@ android:layout_height="wrap_content" android:contentDescription="@string/title_legend_plain_only" android:padding="12dp" - android:src="@drawable/baseline_notes_24" + app:srcCompat="@drawable/baseline_notes_24" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/ivAnswered" /> @@ -177,7 +177,7 @@ android:layout_height="wrap_content" android:contentDescription="@string/title_legend_receipt" android:padding="12dp" - android:src="@drawable/baseline_playlist_add_check_24" + app:srcCompat="@drawable/baseline_playlist_add_check_24" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/ivPlain" /> @@ -199,7 +199,7 @@ android:layout_height="wrap_content" android:contentDescription="@string/title_legend_attachment" android:padding="12dp" - android:src="@drawable/baseline_attachment_24" + app:srcCompat="@drawable/baseline_attachment_24" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/ivReceipt" /> @@ -221,7 +221,7 @@ android:layout_height="wrap_content" android:contentDescription="@string/title_legend_flagged" android:padding="12dp" - android:src="@drawable/baseline_star_24" + app:srcCompat="@drawable/baseline_star_24" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/tvAttachment" /> @@ -243,7 +243,7 @@ android:layout_height="wrap_content" android:contentDescription="@string/title_legend_contacts" android:padding="12dp" - android:src="@drawable/baseline_import_contacts_24" + app:srcCompat="@drawable/baseline_import_contacts_24" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/ivStarred" /> @@ -265,7 +265,7 @@ android:layout_height="wrap_content" android:contentDescription="@string/title_legend_search" android:padding="12dp" - android:src="@drawable/baseline_search_24" + app:srcCompat="@drawable/baseline_search_24" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/ivContacts" /> @@ -287,7 +287,7 @@ android:layout_height="wrap_content" android:contentDescription="@string/title_legend_view" android:padding="12dp" - android:src="@drawable/baseline_visibility_24" + app:srcCompat="@drawable/baseline_visibility_24" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/ivSearch" /> @@ -309,7 +309,7 @@ android:layout_height="wrap_content" android:contentDescription="@string/title_legend_hide" android:padding="12dp" - android:src="@drawable/baseline_visibility_off_24" + app:srcCompat="@drawable/baseline_visibility_off_24" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/ivView" /> @@ -331,7 +331,7 @@ android:layout_height="wrap_content" android:contentDescription="@string/title_legend_download" android:padding="12dp" - android:src="@drawable/baseline_cloud_download_24" + app:srcCompat="@drawable/baseline_cloud_download_24" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/ivHide" /> @@ -353,7 +353,7 @@ android:layout_height="wrap_content" android:contentDescription="@string/title_legend_external_image" android:padding="12dp" - android:src="@drawable/baseline_image_24" + app:srcCompat="@drawable/baseline_image_24" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/ivDownload" /> @@ -375,7 +375,7 @@ android:layout_height="wrap_content" android:contentDescription="@string/title_legend_embedded_image" android:padding="12dp" - android:src="@drawable/baseline_photo_library_24" + app:srcCompat="@drawable/baseline_photo_library_24" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/ivExternalImage" /> @@ -397,7 +397,7 @@ android:layout_height="wrap_content" android:contentDescription="@string/title_legend_broken_image" android:padding="12dp" - android:src="@drawable/baseline_broken_image_24" + app:srcCompat="@drawable/baseline_broken_image_24" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/ivEmbeddedImage" /> diff --git a/app/src/main/res/layout/fragment_legend_synchronization.xml b/app/src/main/res/layout/fragment_legend_synchronization.xml index 20b807a092..97d989b199 100644 --- a/app/src/main/res/layout/fragment_legend_synchronization.xml +++ b/app/src/main/res/layout/fragment_legend_synchronization.xml @@ -23,7 +23,7 @@ android:layout_height="wrap_content" android:contentDescription="@string/title_legend_primary_connected" android:padding="12dp" - android:src="@drawable/baseline_folder_24" + app:srcCompat="@drawable/baseline_folder_24" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" /> @@ -45,7 +45,7 @@ android:layout_height="wrap_content" android:contentDescription="@string/title_legend_primary_disconnected" android:padding="12dp" - android:src="@drawable/baseline_folder_open_24" + app:srcCompat="@drawable/baseline_folder_open_24" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/ivPrimaryConnected" /> @@ -67,7 +67,7 @@ android:layout_height="wrap_content" android:contentDescription="@string/title_legend_download_on" android:padding="12dp" - android:src="@drawable/baseline_mail_24" + app:srcCompat="@drawable/baseline_mail_24" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/ivPrimaryDisconnected" /> @@ -89,7 +89,7 @@ android:layout_height="wrap_content" android:contentDescription="@string/title_legend_download_off" android:padding="12dp" - android:src="@drawable/baseline_mail_outline_24" + app:srcCompat="@drawable/baseline_mail_outline_24" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/ivDownloadOn" /> @@ -111,7 +111,7 @@ android:layout_height="wrap_content" android:contentDescription="@string/title_legend_synchronize_on" android:padding="12dp" - android:src="@drawable/baseline_sync_24" + app:srcCompat="@drawable/baseline_sync_24" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/ivDownloadOff" /> @@ -133,7 +133,7 @@ android:layout_height="wrap_content" android:contentDescription="@string/title_legend_synchronize_off" android:padding="12dp" - android:src="@drawable/baseline_sync_disabled_24" + app:srcCompat="@drawable/baseline_sync_disabled_24" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/ivSynchronize" /> @@ -155,7 +155,7 @@ android:layout_height="wrap_content" android:contentDescription="@string/title_legend_disconnected" android:padding="12dp" - android:src="@drawable/baseline_cloud_off_24" + app:srcCompat="@drawable/baseline_cloud_off_24" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/ivSynchronizeOff" /> @@ -177,7 +177,7 @@ android:layout_height="wrap_content" android:contentDescription="@string/title_legend_connecting" android:padding="12dp" - android:src="@drawable/baseline_cloud_queue_24" + app:srcCompat="@drawable/baseline_cloud_queue_24" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/ivDisconnected" /> @@ -199,7 +199,7 @@ android:layout_height="wrap_content" android:contentDescription="@string/title_legend_connected" android:padding="12dp" - android:src="@drawable/baseline_cloud_24" + app:srcCompat="@drawable/baseline_cloud_24" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/ivConnecting" /> @@ -221,7 +221,7 @@ android:layout_height="wrap_content" android:contentDescription="@string/title_legend_executing" android:padding="12dp" - android:src="@drawable/baseline_dns_24" + app:srcCompat="@drawable/baseline_dns_24" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/ivConnected" /> @@ -243,7 +243,7 @@ android:layout_height="wrap_content" android:contentDescription="@string/title_legend_synchronizing" android:padding="12dp" - android:src="@drawable/baseline_compare_arrows_24" + app:srcCompat="@drawable/baseline_compare_arrows_24" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/ivExecuting" /> @@ -265,7 +265,7 @@ android:layout_height="wrap_content" android:contentDescription="@string/title_legend_downloading" android:padding="12dp" - android:src="@drawable/baseline_cloud_download_24" + app:srcCompat="@drawable/baseline_cloud_download_24" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/ivSynchronizing" /> @@ -287,7 +287,7 @@ android:layout_height="wrap_content" android:contentDescription="@string/title_legend_closing" android:padding="12dp" - android:src="@drawable/baseline_close_24" + app:srcCompat="@drawable/baseline_close_24" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/ivDownloading" /> @@ -309,7 +309,7 @@ android:layout_height="wrap_content" android:contentDescription="@string/title_legend_waiting" android:padding="12dp" - android:src="@drawable/baseline_hourglass_empty_24" + app:srcCompat="@drawable/baseline_hourglass_empty_24" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/ivClosing" /> diff --git a/app/src/main/res/layout/fragment_rule.xml b/app/src/main/res/layout/fragment_rule.xml index 84d54f01c7..afed87a4ab 100644 --- a/app/src/main/res/layout/fragment_rule.xml +++ b/app/src/main/res/layout/fragment_rule.xml @@ -150,7 +150,7 @@ android:layout_marginStart="6dp" android:layout_marginEnd="6dp" android:contentDescription="@string/title_legend_pick" - android:src="@drawable/baseline_person_24" + app:srcCompat="@drawable/baseline_person_24" app:layout_constraintBottom_toBottomOf="@id/etSender" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintTop_toTopOf="@id/etSender" /> @@ -214,7 +214,7 @@ android:layout_marginStart="6dp" android:layout_marginEnd="6dp" android:contentDescription="@string/title_legend_pick" - android:src="@drawable/baseline_person_24" + app:srcCompat="@drawable/baseline_person_24" app:layout_constraintBottom_toBottomOf="@id/etRecipient" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintTop_toTopOf="@id/etRecipient" /> @@ -416,7 +416,7 @@ android:layout_marginStart="12dp" android:background="@null" android:contentDescription="@string/title_legend_default_color" - android:src="@drawable/baseline_delete_24" + app:srcCompat="@drawable/baseline_delete_24" app:layout_constraintBottom_toBottomOf="@id/btnColor" app:layout_constraintStart_toEndOf="@id/vwColor" app:layout_constraintTop_toTopOf="@id/btnColor" /> diff --git a/app/src/main/res/layout/fragment_rules.xml b/app/src/main/res/layout/fragment_rules.xml index 80444e94bf..c020b82dca 100644 --- a/app/src/main/res/layout/fragment_rules.xml +++ b/app/src/main/res/layout/fragment_rules.xml @@ -47,7 +47,7 @@ android:layout_height="wrap_content" android:layout_gravity="end|bottom" android:layout_margin="@dimen/fab_padding" - android:src="@drawable/baseline_add_24" + app:srcCompat="@drawable/baseline_add_24" android:tint="@color/colorActionForeground" android:tooltipText="@string/title_add" app:backgroundTint="?attr/colorAccent" /> diff --git a/app/src/main/res/layout/include_nav.xml b/app/src/main/res/layout/include_nav.xml index 86fc60ffc0..f0c11c2726 100644 --- a/app/src/main/res/layout/include_nav.xml +++ b/app/src/main/res/layout/include_nav.xml @@ -57,7 +57,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:contentDescription="@string/title_legend_expander" - android:src="@drawable/expander" + app:srcCompat="@drawable/expander" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/vSeparatorMenu" /> diff --git a/app/src/main/res/layout/item_attachment.xml b/app/src/main/res/layout/item_attachment.xml index 8e45e113dd..02f116d071 100644 --- a/app/src/main/res/layout/item_attachment.xml +++ b/app/src/main/res/layout/item_attachment.xml @@ -20,7 +20,7 @@ android:background="@null" android:contentDescription="@string/title_legend_delete" android:paddingEnd="12dp" - android:src="@drawable/baseline_delete_24" + app:srcCompat="@drawable/baseline_delete_24" android:visibility="visible" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" /> @@ -30,7 +30,7 @@ android:layout_width="24dp" android:layout_height="24dp" android:contentDescription="@string/title_legend_attachment" - android:src="@drawable/baseline_attachment_24" + app:srcCompat="@drawable/baseline_attachment_24" app:layout_constraintStart_toEndOf="@id/ibDelete" app:layout_constraintTop_toTopOf="parent" /> @@ -67,7 +67,7 @@ android:layout_height="24dp" android:layout_marginStart="6dp" android:contentDescription="@string/title_legend_download_state" - android:src="@drawable/baseline_cloud_download_24" + app:srcCompat="@drawable/baseline_cloud_download_24" app:layout_constraintEnd_toStartOf="@+id/ibSave" app:layout_constraintStart_toEndOf="@id/tvSize" app:layout_constraintTop_toTopOf="parent" /> @@ -79,7 +79,7 @@ android:background="@null" android:contentDescription="@string/title_legend_save" android:paddingStart="12dp" - android:src="@drawable/baseline_save_24" + app:srcCompat="@drawable/baseline_save_24" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toEndOf="@id/ivStatus" app:layout_constraintTop_toTopOf="parent" /> diff --git a/app/src/main/res/layout/item_contact.xml b/app/src/main/res/layout/item_contact.xml index 58108b9a42..afdb0c4bf4 100644 --- a/app/src/main/res/layout/item_contact.xml +++ b/app/src/main/res/layout/item_contact.xml @@ -14,7 +14,7 @@ android:layout_width="24dp" android:layout_height="24dp" android:contentDescription="@string/title_legend_avatar" - android:src="@drawable/baseline_call_received_24" + app:srcCompat="@drawable/baseline_call_received_24" app:layout_constraintBottom_toBottomOf="@+id/ivAvatar" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="@+id/ivAvatar" /> @@ -26,7 +26,7 @@ android:layout_marginStart="6dp" android:contentDescription="@string/title_legend_avatar" android:padding="3dp" - android:src="@drawable/baseline_person_24" + app:srcCompat="@drawable/baseline_person_24" app:layout_constraintDimensionRatio="1:1" app:layout_constraintStart_toEndOf="@id/ivType" app:layout_constraintTop_toTopOf="parent" /> @@ -87,7 +87,7 @@ android:layout_width="24dp" android:layout_height="24dp" android:contentDescription="@string/title_legend_flagged" - android:src="@drawable/baseline_star_24" + app:srcCompat="@drawable/baseline_star_24" android:visibility="visible" app:layout_constraintBottom_toBottomOf="@+id/ivAvatar" app:layout_constraintEnd_toEndOf="parent" diff --git a/app/src/main/res/layout/item_folder.xml b/app/src/main/res/layout/item_folder.xml index b4caa6402c..82ef3438d3 100644 --- a/app/src/main/res/layout/item_folder.xml +++ b/app/src/main/res/layout/item_folder.xml @@ -26,7 +26,7 @@ android:layout_height="24dp" android:layout_marginStart="6dp" android:contentDescription="@string/title_legend_connection_state" - android:src="@drawable/baseline_cloud_off_24" + app:srcCompat="@drawable/baseline_cloud_off_24" app:layout_constraintBottom_toBottomOf="@+id/tvName" app:layout_constraintStart_toEndOf="@id/vwColor" app:layout_constraintTop_toTopOf="@+id/tvName" /> @@ -36,7 +36,7 @@ android:layout_width="24dp" android:layout_height="24dp" android:layout_marginStart="6dp" - android:src="@drawable/baseline_visibility_24" + app:srcCompat="@drawable/baseline_visibility_24" app:layout_constraintStart_toEndOf="@id/vwColor" app:layout_constraintTop_toTopOf="@+id/tvType" /> @@ -57,7 +57,7 @@ android:contentDescription="@string/title_legend_expander" android:paddingStart="12dp" android:paddingEnd="12dp" - android:src="@drawable/expander" + app:srcCompat="@drawable/expander" app:layout_constraintBottom_toBottomOf="@+id/paddingBottom" app:layout_constraintStart_toEndOf="@+id/vwLevel" app:layout_constraintTop_toTopOf="parent" /> @@ -68,7 +68,7 @@ android:layout_height="24dp" android:contentDescription="@string/title_legend_folder_type" android:paddingEnd="6dp" - android:src="@drawable/baseline_inbox_24" + app:srcCompat="@drawable/baseline_inbox_24" app:layout_constraintBottom_toBottomOf="@+id/tvType" app:layout_constraintStart_toEndOf="@id/ivExpander" app:layout_constraintTop_toTopOf="@+id/tvType" /> @@ -79,7 +79,7 @@ android:layout_height="24dp" android:contentDescription="@string/title_unified_folder" android:paddingEnd="6dp" - android:src="@drawable/baseline_folder_special_24" + app:srcCompat="@drawable/baseline_folder_special_24" app:layout_constraintBottom_toBottomOf="@+id/tvType" app:layout_constraintStart_toEndOf="@id/ivType" app:layout_constraintTop_toTopOf="@+id/tvType" /> @@ -90,7 +90,7 @@ android:layout_height="24dp" android:contentDescription="@string/title_legend_notify" android:paddingEnd="6dp" - android:src="@drawable/baseline_notifications_24" + app:srcCompat="@drawable/baseline_notifications_24" app:layout_constraintBottom_toBottomOf="@+id/tvName" app:layout_constraintStart_toEndOf="@id/ivExpander" app:layout_constraintTop_toTopOf="@+id/tvName" /> @@ -101,7 +101,7 @@ android:layout_height="24dp" android:contentDescription="@string/title_legend_notify" android:paddingEnd="6dp" - android:src="@drawable/baseline_bookmark_24" + app:srcCompat="@drawable/baseline_bookmark_24" app:layout_constraintBottom_toBottomOf="@+id/tvName" app:layout_constraintStart_toEndOf="@id/ivNotify" app:layout_constraintTop_toTopOf="@+id/tvName" /> @@ -140,7 +140,7 @@ android:layout_height="24dp" android:layout_marginEnd="12dp" android:contentDescription="@string/title_legend_count" - android:src="@drawable/baseline_mail_outline_24" + app:srcCompat="@drawable/baseline_mail_outline_24" app:layout_constraintBottom_toBottomOf="@+id/tvName" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintTop_toTopOf="@+id/tvName" /> @@ -194,7 +194,7 @@ android:layout_height="24dp" android:layout_marginEnd="12dp" android:contentDescription="@string/title_legend_sync_state" - android:src="@drawable/baseline_sync_24" + app:srcCompat="@drawable/baseline_sync_24" app:layout_constraintBottom_toBottomOf="@id/tvType" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintTop_toTopOf="@+id/tvType" /> diff --git a/app/src/main/res/layout/item_folder_select.xml b/app/src/main/res/layout/item_folder_select.xml index 80b557cbd4..875ba67e18 100644 --- a/app/src/main/res/layout/item_folder_select.xml +++ b/app/src/main/res/layout/item_folder_select.xml @@ -26,7 +26,7 @@ android:layout_gravity="center_vertical|center_horizontal" android:contentDescription="@string/title_legend_expander" android:padding="6dp" - android:src="@drawable/expander" + app:srcCompat="@drawable/expander" app:layout_constraintBottom_toBottomOf="@+id/tvName" app:layout_constraintStart_toEndOf="@+id/vwLevel" app:layout_constraintTop_toTopOf="@+id/tvName" /> @@ -36,7 +36,7 @@ android:layout_width="24dp" android:layout_height="24dp" android:contentDescription="@string/title_legend_folder_type" - android:src="@drawable/baseline_inbox_24" + app:srcCompat="@drawable/baseline_inbox_24" app:layout_constraintBottom_toBottomOf="@+id/tvName" app:layout_constraintStart_toEndOf="@+id/ivExpander" app:layout_constraintTop_toTopOf="@+id/tvName" /> diff --git a/app/src/main/res/layout/item_image.xml b/app/src/main/res/layout/item_image.xml index 0e11442309..17db5382a9 100644 --- a/app/src/main/res/layout/item_image.xml +++ b/app/src/main/res/layout/item_image.xml @@ -19,7 +19,7 @@ android:adjustViewBounds="true" android:contentDescription="@string/title_legend_show_images" android:scaleType="centerInside" - android:src="@mipmap/ic_launcher" + app:srcCompat="@mipmap/ic_launcher" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" /> diff --git a/app/src/main/res/layout/item_nav.xml b/app/src/main/res/layout/item_nav.xml index 0c12e36d6f..9736b2cb53 100644 --- a/app/src/main/res/layout/item_nav.xml +++ b/app/src/main/res/layout/item_nav.xml @@ -16,7 +16,7 @@ android:layout_height="wrap_content" android:layout_marginStart="12dp" android:gravity="center_vertical" - android:src="@drawable/baseline_mail_outline_24" + app:srcCompat="@drawable/baseline_mail_outline_24" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" />