From e00fcd846ac9ec447c6ec2ac76ab4543709e26fb Mon Sep 17 00:00:00 2001 From: M M Arif Date: Sun, 19 Jul 2020 12:24:47 +0200 Subject: [PATCH] Add missed icons and improve the ratio of all icons across the app (#592) Merge branch 'master' into new-missing-icons Merge branch 'master' into new-missing-icons Fix background and icon Fix search bar icons and layout to match the themes new lines? Merge branch 'master' into new-missing-icons Add missed icons, and improve the ratio of all icons across the app Co-authored-by: 6543 <6543@noreply.codeberg.org> Co-authored-by: M M Arif Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/592 --- app/src/main/res/drawable/ic_appearance.xml | 27 ++++++++++++++ app/src/main/res/drawable/ic_archive.xml | 25 +++++++++---- app/src/main/res/drawable/ic_branch.xml | 34 ++++++++++++----- app/src/main/res/drawable/ic_bug_report.xml | 13 +++++-- app/src/main/res/drawable/ic_calendar.xml | 30 +++++++++++++-- app/src/main/res/drawable/ic_check.xml | 9 +++-- app/src/main/res/drawable/ic_color.xml | 5 --- app/src/main/res/drawable/ic_comment.xml | 9 +++-- app/src/main/res/drawable/ic_directory.xml | 9 +++-- app/src/main/res/drawable/ic_download.xml | 22 ++++++++++- app/src/main/res/drawable/ic_email.xml | 16 ++++++-- app/src/main/res/drawable/ic_file.xml | 16 ++++++-- .../res/drawable/ic_file_download_24dp.xml | 5 --- app/src/main/res/drawable/ic_filter.xml | 8 +++- .../main/res/drawable/ic_filter_closed.xml | 8 +++- app/src/main/res/drawable/ic_flag.xml | 20 ++++++++++ app/src/main/res/drawable/ic_flag_country.xml | 5 --- app/src/main/res/drawable/ic_info.xml | 24 +++++++++--- app/src/main/res/drawable/ic_issue.xml | 24 +++++++++--- app/src/main/res/drawable/ic_issue_closed.xml | 16 ++++++-- app/src/main/res/drawable/ic_label.xml | 17 ++++++--- app/src/main/res/drawable/ic_like.xml | 11 +++--- app/src/main/res/drawable/ic_link.xml | 16 ++++++-- app/src/main/res/drawable/ic_location.xml | 17 ++++++--- app/src/main/res/drawable/ic_lock.xml | 16 ++++++-- app/src/main/res/drawable/ic_logout.xml | 6 +-- app/src/main/res/drawable/ic_reopen.xml | 23 ++++++++++-- app/src/main/res/drawable/ic_search.xml | 16 ++++++-- app/src/main/res/drawable/ic_security.xml | 13 +++++++ .../main/res/drawable/ic_security_24dp.xml | 5 --- app/src/main/res/drawable/ic_share.xml | 37 +++++++++++++++++-- app/src/main/res/drawable/ic_star.xml | 17 +++++++-- .../main/res/drawable/ic_star_border_24dp.xml | 5 --- .../main/res/drawable/ic_star_unfilled.xml | 14 +++++++ app/src/main/res/drawable/ic_unlock.xml | 16 ++++++-- app/src/main/res/drawable/ic_unwatch.xml | 24 +++++++++--- app/src/main/res/layout/activity_main.xml | 2 +- app/src/main/res/layout/bottom_sheet_repo.xml | 2 +- .../bottom_sheet_repository_in_list.xml | 2 +- .../main/res/layout/fragment_repo_info.xml | 2 +- app/src/main/res/layout/fragment_settings.xml | 6 +-- app/src/main/res/layout/list_repositories.xml | 2 +- app/src/main/res/menu/drawer_menu.xml | 2 +- app/src/main/res/menu/search_menu.xml | 2 +- app/src/main/res/values-v23/themes.xml | 1 + app/src/main/res/values/themes.xml | 8 ++++ 46 files changed, 467 insertions(+), 140 deletions(-) create mode 100644 app/src/main/res/drawable/ic_appearance.xml delete mode 100644 app/src/main/res/drawable/ic_color.xml delete mode 100644 app/src/main/res/drawable/ic_file_download_24dp.xml create mode 100644 app/src/main/res/drawable/ic_flag.xml delete mode 100644 app/src/main/res/drawable/ic_flag_country.xml create mode 100644 app/src/main/res/drawable/ic_security.xml delete mode 100644 app/src/main/res/drawable/ic_security_24dp.xml delete mode 100644 app/src/main/res/drawable/ic_star_border_24dp.xml create mode 100644 app/src/main/res/drawable/ic_star_unfilled.xml diff --git a/app/src/main/res/drawable/ic_appearance.xml b/app/src/main/res/drawable/ic_appearance.xml new file mode 100644 index 00000000..a8308016 --- /dev/null +++ b/app/src/main/res/drawable/ic_appearance.xml @@ -0,0 +1,27 @@ + + + + + diff --git a/app/src/main/res/drawable/ic_archive.xml b/app/src/main/res/drawable/ic_archive.xml index 4605e3d2..bfb3657c 100644 --- a/app/src/main/res/drawable/ic_archive.xml +++ b/app/src/main/res/drawable/ic_archive.xml @@ -4,13 +4,24 @@ android:viewportWidth="24" android:viewportHeight="24"> + android:pathData="M21,8l0,13l-18,0l0,-13" + android:strokeLineJoin="round" + android:strokeWidth="2" + android:fillColor="#00000000" + android:strokeColor="#368F73" + android:strokeLineCap="round"/> + android:pathData="M1,3h22v5h-22z" + android:strokeLineJoin="round" + android:strokeWidth="2" + android:fillColor="#00000000" + android:strokeColor="#368F73" + android:strokeLineCap="round"/> + android:pathData="M10,12L14,12" + android:strokeLineJoin="round" + android:strokeWidth="2" + android:fillColor="#00000000" + android:strokeColor="#368F73" + android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_branch.xml b/app/src/main/res/drawable/ic_branch.xml index 683ded41..89723ab7 100644 --- a/app/src/main/res/drawable/ic_branch.xml +++ b/app/src/main/res/drawable/ic_branch.xml @@ -4,15 +4,31 @@ android:viewportWidth="24" android:viewportHeight="24"> + android:pathData="M6,3L6,15" + android:strokeLineJoin="round" + android:strokeWidth="2" + android:fillColor="#00000000" + android:strokeColor="#368F73" + android:strokeLineCap="round"/> + android:pathData="M18,6m-3,0a3,3 0,1 1,6 0a3,3 0,1 1,-6 0" + android:strokeLineJoin="round" + android:strokeWidth="2" + android:fillColor="#00000000" + android:strokeColor="#368F73" + android:strokeLineCap="round"/> + android:pathData="M6,18m-3,0a3,3 0,1 1,6 0a3,3 0,1 1,-6 0" + android:strokeLineJoin="round" + android:strokeWidth="2" + android:fillColor="#00000000" + android:strokeColor="#368F73" + android:strokeLineCap="round"/> + diff --git a/app/src/main/res/drawable/ic_bug_report.xml b/app/src/main/res/drawable/ic_bug_report.xml index a63dcc86..c1cbfed4 100644 --- a/app/src/main/res/drawable/ic_bug_report.xml +++ b/app/src/main/res/drawable/ic_bug_report.xml @@ -1,5 +1,10 @@ - - + + + + + + diff --git a/app/src/main/res/drawable/ic_calendar.xml b/app/src/main/res/drawable/ic_calendar.xml index e0feca00..ebfcbd96 100644 --- a/app/src/main/res/drawable/ic_calendar.xml +++ b/app/src/main/res/drawable/ic_calendar.xml @@ -4,7 +4,31 @@ android:viewportWidth="24" android:viewportHeight="24"> + android:pathData="M5,4L19,4A2,2 0,0 1,21 6L21,20A2,2 0,0 1,19 22L5,22A2,2 0,0 1,3 20L3,6A2,2 0,0 1,5 4z" + android:strokeLineJoin="round" + android:strokeWidth="2" + android:fillColor="#00000000" + android:strokeColor="#368F73" + android:strokeLineCap="round"/> + + + diff --git a/app/src/main/res/drawable/ic_check.xml b/app/src/main/res/drawable/ic_check.xml index eb67f792..3895ab41 100644 --- a/app/src/main/res/drawable/ic_check.xml +++ b/app/src/main/res/drawable/ic_check.xml @@ -4,7 +4,10 @@ android:viewportWidth="24" android:viewportHeight="24"> + android:pathData="M20,6l-11,11l-5,-5" + android:strokeLineJoin="round" + android:strokeWidth="2" + android:fillColor="#00000000" + android:strokeColor="#368F73" + android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_color.xml b/app/src/main/res/drawable/ic_color.xml deleted file mode 100644 index ace41e5f..00000000 --- a/app/src/main/res/drawable/ic_color.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - diff --git a/app/src/main/res/drawable/ic_comment.xml b/app/src/main/res/drawable/ic_comment.xml index cbc8cb9d..cb87d675 100644 --- a/app/src/main/res/drawable/ic_comment.xml +++ b/app/src/main/res/drawable/ic_comment.xml @@ -4,7 +4,10 @@ android:viewportWidth="24" android:viewportHeight="24"> + android:pathData="M21,15a2,2 0,0 1,-2 2H7l-4,4V5a2,2 0,0 1,2 -2h14a2,2 0,0 1,2 2z" + android:strokeLineJoin="round" + android:strokeWidth="2" + android:fillColor="#00000000" + android:strokeColor="#368F73" + android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_directory.xml b/app/src/main/res/drawable/ic_directory.xml index 77134c41..b78ad9dd 100644 --- a/app/src/main/res/drawable/ic_directory.xml +++ b/app/src/main/res/drawable/ic_directory.xml @@ -4,7 +4,10 @@ android:viewportWidth="24" android:viewportHeight="24"> + android:pathData="M22,19a2,2 0,0 1,-2 2H4a2,2 0,0 1,-2 -2V5a2,2 0,0 1,2 -2h5l2,3h9a2,2 0,0 1,2 2z" + android:strokeLineJoin="round" + android:strokeWidth="2" + android:fillColor="#00000000" + android:strokeColor="#368F73" + android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_download.xml b/app/src/main/res/drawable/ic_download.xml index d5ac6a96..b3e56ea6 100644 --- a/app/src/main/res/drawable/ic_download.xml +++ b/app/src/main/res/drawable/ic_download.xml @@ -4,6 +4,24 @@ android:viewportWidth="24" android:viewportHeight="24"> + android:pathData="M21,15v4a2,2 0,0 1,-2 2H5a2,2 0,0 1,-2 -2v-4" + android:strokeLineJoin="round" + android:strokeWidth="2" + android:fillColor="#00000000" + android:strokeColor="#368F73" + android:strokeLineCap="round"/> + + diff --git a/app/src/main/res/drawable/ic_email.xml b/app/src/main/res/drawable/ic_email.xml index 8bf38e31..0577ff76 100644 --- a/app/src/main/res/drawable/ic_email.xml +++ b/app/src/main/res/drawable/ic_email.xml @@ -4,7 +4,17 @@ android:viewportWidth="24" android:viewportHeight="24"> + android:pathData="M4,4h16c1.1,0 2,0.9 2,2v12c0,1.1 -0.9,2 -2,2H4c-1.1,0 -2,-0.9 -2,-2V6c0,-1.1 0.9,-2 2,-2z" + android:strokeLineJoin="round" + android:strokeWidth="2" + android:fillColor="#00000000" + android:strokeColor="#368F73" + android:strokeLineCap="round"/> + diff --git a/app/src/main/res/drawable/ic_file.xml b/app/src/main/res/drawable/ic_file.xml index f1a8abca..09f190ec 100644 --- a/app/src/main/res/drawable/ic_file.xml +++ b/app/src/main/res/drawable/ic_file.xml @@ -4,7 +4,17 @@ android:viewportWidth="24" android:viewportHeight="24"> + android:pathData="M13,2H6a2,2 0,0 0,-2 2v16a2,2 0,0 0,2 2h12a2,2 0,0 0,2 -2V9z" + android:strokeLineJoin="round" + android:strokeWidth="2" + android:fillColor="#00000000" + android:strokeColor="#368F73" + android:strokeLineCap="round"/> + diff --git a/app/src/main/res/drawable/ic_file_download_24dp.xml b/app/src/main/res/drawable/ic_file_download_24dp.xml deleted file mode 100644 index ffc2a2ff..00000000 --- a/app/src/main/res/drawable/ic_file_download_24dp.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - diff --git a/app/src/main/res/drawable/ic_filter.xml b/app/src/main/res/drawable/ic_filter.xml index 156b4dbf..ee204906 100644 --- a/app/src/main/res/drawable/ic_filter.xml +++ b/app/src/main/res/drawable/ic_filter.xml @@ -4,6 +4,10 @@ android:viewportWidth="24" android:viewportHeight="24"> + android:pathData="M22,3l-20,0l8,9.46l0,6.54l4,2l0,-8.54l8,-9.46z" + android:strokeLineJoin="round" + android:strokeWidth="2" + android:fillColor="#00000000" + android:strokeColor="#368F73" + android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_filter_closed.xml b/app/src/main/res/drawable/ic_filter_closed.xml index e1891b5b..de6ea523 100644 --- a/app/src/main/res/drawable/ic_filter_closed.xml +++ b/app/src/main/res/drawable/ic_filter_closed.xml @@ -4,6 +4,10 @@ android:height="24dp" android:viewportWidth="24" android:viewportHeight="24"> + android:pathData="M22,3l-20,0l8,9.46l0,6.54l4,2l0,-8.54l8,-9.46z" + android:strokeLineJoin="round" + android:strokeWidth="2" + android:fillColor="#00000000" + android:strokeColor="#AF4242" + android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_flag.xml b/app/src/main/res/drawable/ic_flag.xml new file mode 100644 index 00000000..de00d90e --- /dev/null +++ b/app/src/main/res/drawable/ic_flag.xml @@ -0,0 +1,20 @@ + + + + diff --git a/app/src/main/res/drawable/ic_flag_country.xml b/app/src/main/res/drawable/ic_flag_country.xml deleted file mode 100644 index df3bd5fa..00000000 --- a/app/src/main/res/drawable/ic_flag_country.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - diff --git a/app/src/main/res/drawable/ic_info.xml b/app/src/main/res/drawable/ic_info.xml index 6d0434ae..0591f38a 100644 --- a/app/src/main/res/drawable/ic_info.xml +++ b/app/src/main/res/drawable/ic_info.xml @@ -4,10 +4,24 @@ android:viewportWidth="24" android:viewportHeight="24"> + android:pathData="M12,12m-10,0a10,10 0,1 1,20 0a10,10 0,1 1,-20 0" + android:strokeLineJoin="round" + android:strokeWidth="2" + android:fillColor="#00000000" + android:strokeColor="#368F73" + android:strokeLineCap="round"/> + android:pathData="M12,16L12,12" + android:strokeLineJoin="round" + android:strokeWidth="2" + android:fillColor="#00000000" + android:strokeColor="#368F73" + android:strokeLineCap="round"/> + diff --git a/app/src/main/res/drawable/ic_issue.xml b/app/src/main/res/drawable/ic_issue.xml index e0079e94..8c379104 100644 --- a/app/src/main/res/drawable/ic_issue.xml +++ b/app/src/main/res/drawable/ic_issue.xml @@ -4,10 +4,24 @@ android:viewportWidth="24" android:viewportHeight="24"> + android:pathData="M12,12m-10,0a10,10 0,1 1,20 0a10,10 0,1 1,-20 0" + android:strokeLineJoin="round" + android:strokeWidth="2" + android:fillColor="#00000000" + android:strokeColor="#368F73" + android:strokeLineCap="round"/> + android:pathData="M12,8L12,12" + android:strokeLineJoin="round" + android:strokeWidth="2" + android:fillColor="#00000000" + android:strokeColor="#368F73" + android:strokeLineCap="round"/> + diff --git a/app/src/main/res/drawable/ic_issue_closed.xml b/app/src/main/res/drawable/ic_issue_closed.xml index 36b53975..38013e41 100644 --- a/app/src/main/res/drawable/ic_issue_closed.xml +++ b/app/src/main/res/drawable/ic_issue_closed.xml @@ -4,9 +4,17 @@ android:viewportWidth="24" android:viewportHeight="24"> + android:pathData="M22,11.08V12a10,10 0,1 1,-5.93 -9.14" + android:strokeLineJoin="round" + android:strokeWidth="2" + android:fillColor="#00000000" + android:strokeColor="#368F73" + android:strokeLineCap="round"/> + android:pathData="M22,4l-10,10.01l-3,-3" + android:strokeLineJoin="round" + android:strokeWidth="2" + android:fillColor="#00000000" + android:strokeColor="#368F73" + android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_label.xml b/app/src/main/res/drawable/ic_label.xml index e5d33e5c..2904637e 100644 --- a/app/src/main/res/drawable/ic_label.xml +++ b/app/src/main/res/drawable/ic_label.xml @@ -4,10 +4,17 @@ android:viewportWidth="24" android:viewportHeight="24"> + android:pathData="M20.59,13.41l-7.17,7.17a2,2 0,0 1,-2.83 0L2,12V2h10l8.59,8.59a2,2 0,0 1,0 2.82z" + android:strokeLineJoin="round" + android:strokeWidth="2" + android:fillColor="#00000000" + android:strokeColor="#368F73" + android:strokeLineCap="round"/> + android:pathData="M7,7L7.01,7" + android:strokeLineJoin="round" + android:strokeWidth="2" + android:fillColor="#00000000" + android:strokeColor="#368F73" + android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_like.xml b/app/src/main/res/drawable/ic_like.xml index 40a638c9..bf554fd0 100644 --- a/app/src/main/res/drawable/ic_like.xml +++ b/app/src/main/res/drawable/ic_like.xml @@ -1,12 +1,13 @@ + android:pathData="M14,9V5a3,3 0,0 0,-3 -3l-4,9v11h11.28a2,2 0,0 0,2 -1.7l1.38,-9a2,2 0,0 0,-2 -2.3zM7,22H4a2,2 0,0 1,-2 -2v-7a2,2 0,0 1,2 -2h3" + android:strokeLineJoin="round" + android:strokeWidth="2" + android:fillColor="#00000000" + android:strokeColor="#368F73" + android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_link.xml b/app/src/main/res/drawable/ic_link.xml index 2373a76d..5e04c607 100644 --- a/app/src/main/res/drawable/ic_link.xml +++ b/app/src/main/res/drawable/ic_link.xml @@ -4,9 +4,17 @@ android:viewportWidth="24" android:viewportHeight="24"> + android:pathData="M10,13a5,5 0,0 0,7.54 0.54l3,-3a5,5 0,0 0,-7.07 -7.07l-1.72,1.71" + android:strokeLineJoin="round" + android:strokeWidth="2" + android:fillColor="#00000000" + android:strokeColor="#368F73" + android:strokeLineCap="round"/> + android:pathData="M14,11a5,5 0,0 0,-7.54 -0.54l-3,3a5,5 0,0 0,7.07 7.07l1.71,-1.71" + android:strokeLineJoin="round" + android:strokeWidth="2" + android:fillColor="#00000000" + android:strokeColor="#368F73" + android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_location.xml b/app/src/main/res/drawable/ic_location.xml index 78b223ee..92b1b30e 100644 --- a/app/src/main/res/drawable/ic_location.xml +++ b/app/src/main/res/drawable/ic_location.xml @@ -4,10 +4,17 @@ android:viewportWidth="24" android:viewportHeight="24"> + android:pathData="M21,10c0,7 -9,13 -9,13s-9,-6 -9,-13a9,9 0,0 1,18 0z" + android:strokeLineJoin="round" + android:strokeWidth="2" + android:fillColor="#00000000" + android:strokeColor="#368F73" + android:strokeLineCap="round"/> + android:pathData="M12,10m-3,0a3,3 0,1 1,6 0a3,3 0,1 1,-6 0" + android:strokeLineJoin="round" + android:strokeWidth="2" + android:fillColor="#00000000" + android:strokeColor="#368F73" + android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_lock.xml b/app/src/main/res/drawable/ic_lock.xml index aa0bfc23..84dfbfda 100644 --- a/app/src/main/res/drawable/ic_lock.xml +++ b/app/src/main/res/drawable/ic_lock.xml @@ -4,7 +4,17 @@ android:viewportWidth="24" android:viewportHeight="24"> + android:pathData="M5,11L19,11A2,2 0,0 1,21 13L21,20A2,2 0,0 1,19 22L5,22A2,2 0,0 1,3 20L3,13A2,2 0,0 1,5 11z" + android:strokeLineJoin="round" + android:strokeWidth="2" + android:fillColor="#00000000" + android:strokeColor="#368F73" + android:strokeLineCap="round"/> + diff --git a/app/src/main/res/drawable/ic_logout.xml b/app/src/main/res/drawable/ic_logout.xml index 34e0c4a8..9af0500d 100644 --- a/app/src/main/res/drawable/ic_logout.xml +++ b/app/src/main/res/drawable/ic_logout.xml @@ -8,20 +8,20 @@ android:strokeLineJoin="round" android:strokeWidth="2" android:fillColor="#00000000" - android:strokeColor="#368f73" + android:strokeColor="#368F73" android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_reopen.xml b/app/src/main/res/drawable/ic_reopen.xml index 09f758f0..aa8b34d1 100644 --- a/app/src/main/res/drawable/ic_reopen.xml +++ b/app/src/main/res/drawable/ic_reopen.xml @@ -1,5 +1,20 @@ - - + + + diff --git a/app/src/main/res/drawable/ic_search.xml b/app/src/main/res/drawable/ic_search.xml index df8b2134..f4028471 100644 --- a/app/src/main/res/drawable/ic_search.xml +++ b/app/src/main/res/drawable/ic_search.xml @@ -4,7 +4,17 @@ android:viewportWidth="24" android:viewportHeight="24"> + android:pathData="M11,11m-8,0a8,8 0,1 1,16 0a8,8 0,1 1,-16 0" + android:strokeLineJoin="round" + android:strokeWidth="2" + android:fillColor="#00000000" + android:strokeColor="#368F73" + android:strokeLineCap="round"/> + diff --git a/app/src/main/res/drawable/ic_security.xml b/app/src/main/res/drawable/ic_security.xml new file mode 100644 index 00000000..27910cb9 --- /dev/null +++ b/app/src/main/res/drawable/ic_security.xml @@ -0,0 +1,13 @@ + + + diff --git a/app/src/main/res/drawable/ic_security_24dp.xml b/app/src/main/res/drawable/ic_security_24dp.xml deleted file mode 100644 index 6ffc522d..00000000 --- a/app/src/main/res/drawable/ic_security_24dp.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - diff --git a/app/src/main/res/drawable/ic_share.xml b/app/src/main/res/drawable/ic_share.xml index 3c439ab4..03d2ce36 100644 --- a/app/src/main/res/drawable/ic_share.xml +++ b/app/src/main/res/drawable/ic_share.xml @@ -4,7 +4,38 @@ android:viewportWidth="24" android:viewportHeight="24"> + android:pathData="M18,5m-3,0a3,3 0,1 1,6 0a3,3 0,1 1,-6 0" + android:strokeLineJoin="round" + android:strokeWidth="2" + android:fillColor="#00000000" + android:strokeColor="#368F73" + android:strokeLineCap="round"/> + + + + diff --git a/app/src/main/res/drawable/ic_star.xml b/app/src/main/res/drawable/ic_star.xml index b47a7cb0..d332c8ec 100644 --- a/app/src/main/res/drawable/ic_star.xml +++ b/app/src/main/res/drawable/ic_star.xml @@ -1,5 +1,14 @@ - - + + diff --git a/app/src/main/res/drawable/ic_star_border_24dp.xml b/app/src/main/res/drawable/ic_star_border_24dp.xml deleted file mode 100644 index 3706f71c..00000000 --- a/app/src/main/res/drawable/ic_star_border_24dp.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - diff --git a/app/src/main/res/drawable/ic_star_unfilled.xml b/app/src/main/res/drawable/ic_star_unfilled.xml new file mode 100644 index 00000000..0e338c4c --- /dev/null +++ b/app/src/main/res/drawable/ic_star_unfilled.xml @@ -0,0 +1,14 @@ + + + diff --git a/app/src/main/res/drawable/ic_unlock.xml b/app/src/main/res/drawable/ic_unlock.xml index a99a4c3a..a06f66b2 100644 --- a/app/src/main/res/drawable/ic_unlock.xml +++ b/app/src/main/res/drawable/ic_unlock.xml @@ -4,7 +4,17 @@ android:viewportWidth="24" android:viewportHeight="24"> + android:pathData="M5,11L19,11A2,2 0,0 1,21 13L21,20A2,2 0,0 1,19 22L5,22A2,2 0,0 1,3 20L3,13A2,2 0,0 1,5 11z" + android:strokeLineJoin="round" + android:strokeWidth="2" + android:fillColor="#00000000" + android:strokeColor="#368F73" + android:strokeLineCap="round"/> + diff --git a/app/src/main/res/drawable/ic_unwatch.xml b/app/src/main/res/drawable/ic_unwatch.xml index 3d694e13..051d0208 100644 --- a/app/src/main/res/drawable/ic_unwatch.xml +++ b/app/src/main/res/drawable/ic_unwatch.xml @@ -1,6 +1,20 @@ - - - + + + diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 0124938f..2f22cc27 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -55,4 +55,4 @@ app:itemTextAppearance="@style/DrawerIcon" app:itemTextColor="?attr/primaryTextColor" /> - \ No newline at end of file + diff --git a/app/src/main/res/layout/bottom_sheet_repo.xml b/app/src/main/res/layout/bottom_sheet_repo.xml index dfc77c33..3af12b0c 100644 --- a/app/src/main/res/layout/bottom_sheet_repo.xml +++ b/app/src/main/res/layout/bottom_sheet_repo.xml @@ -103,7 +103,7 @@ android:layout_height="wrap_content" android:layout_gravity="center_vertical" android:text="@string/starRepository" - android:drawableStart="@drawable/ic_star_border_24dp" + android:drawableStart="@drawable/ic_star_unfilled" android:drawablePadding="24dp" android:textColor="?attr/primaryTextColor" android:textSize="16sp" diff --git a/app/src/main/res/layout/bottom_sheet_repository_in_list.xml b/app/src/main/res/layout/bottom_sheet_repository_in_list.xml index 364ac4c6..ef64ee52 100644 --- a/app/src/main/res/layout/bottom_sheet_repository_in_list.xml +++ b/app/src/main/res/layout/bottom_sheet_repository_in_list.xml @@ -53,7 +53,7 @@ android:layout_height="wrap_content" android:layout_gravity="center_vertical" android:text="@string/repoStargazersInMenu" - android:drawableStart="@drawable/ic_star_border_24dp" + android:drawableStart="@drawable/ic_star_unfilled" android:drawablePadding="24dp" android:textColor="?attr/primaryTextColor" android:textSize="16sp" diff --git a/app/src/main/res/layout/fragment_repo_info.xml b/app/src/main/res/layout/fragment_repo_info.xml index e6896f88..327b9ad8 100644 --- a/app/src/main/res/layout/fragment_repo_info.xml +++ b/app/src/main/res/layout/fragment_repo_info.xml @@ -97,7 +97,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:contentDescription="@string/repoStargazersInMenu" - app:srcCompat="@drawable/ic_star_border_24dp" /> + app:srcCompat="@drawable/ic_star_unfilled" /> - \ No newline at end of file + diff --git a/app/src/main/res/values-v23/themes.xml b/app/src/main/res/values-v23/themes.xml index 1d3bb808..d7dd3f68 100644 --- a/app/src/main/res/values-v23/themes.xml +++ b/app/src/main/res/values-v23/themes.xml @@ -25,6 +25,7 @@ @color/darkGreen @color/lightThemeDividerColor @style/AppThemeLightBottomSheetDialog + @style/AppSearchViewStyle diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml index b86f300f..a35a7e4e 100644 --- a/app/src/main/res/values/themes.xml +++ b/app/src/main/res/values/themes.xml @@ -25,6 +25,7 @@ @color/darkGreen @color/dividerColorDark @style/AppThemeDarkBottomSheetDialog + @style/AppSearchViewStyle @@ -52,9 +53,16 @@ @color/darkGreen @color/lightThemeDividerColor @style/AppThemeLightBottomSheetDialog + @style/AppSearchViewStyle + +