From 5d170249cdd0050349f40d3a5852a8ba996663bc Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Tue, 7 Jul 2020 19:18:24 +0530 Subject: Major UI overhaul and the introduction of a new icon (#920) Co-authored-by: Fabian Henneke --- app/src/main/res/color/outlined_box_selector.xml | 6 + app/src/main/res/drawable-nodpi/autofill_ins_1.png | Bin 7324 -> 0 bytes .../main/res/drawable-nodpi/autofill_ins_1.webp | Bin 0 -> 3526 bytes app/src/main/res/drawable-nodpi/autofill_ins_2.png | Bin 4063 -> 0 bytes .../main/res/drawable-nodpi/autofill_ins_2.webp | Bin 0 -> 2258 bytes app/src/main/res/drawable-nodpi/autofill_ins_3.png | Bin 6631 -> 0 bytes .../main/res/drawable-nodpi/autofill_ins_3.webp | Bin 0 -> 3516 bytes .../res/drawable-v24/ic_launcher_background.xml | 152 +++++++++++++++++ app/src/main/res/drawable/ic_action_new_folder.xml | 2 +- .../main/res/drawable/ic_action_new_password.xml | 2 +- app/src/main/res/drawable/ic_add_48dp.xml | 14 ++ app/src/main/res/drawable/ic_add_white_48dp.xml | 14 -- app/src/main/res/drawable/ic_clear_white_24dp.xml | 14 -- app/src/main/res/drawable/ic_content_copy.xml | 2 +- .../res/drawable/ic_content_copy_white_24dp.xml | 14 -- app/src/main/res/drawable/ic_delete_24dp.xml | 14 ++ app/src/main/res/drawable/ic_delete_white_24dp.xml | 14 -- app/src/main/res/drawable/ic_done_24dp.xml | 14 ++ app/src/main/res/drawable/ic_done_white_24dp.xml | 14 -- app/src/main/res/drawable/ic_edit_24dp.xml | 14 ++ app/src/main/res/drawable/ic_edit_white_24dp.xml | 14 -- .../main/res/drawable/ic_launcher_foreground.xml | 31 ---- app/src/main/res/drawable/ic_move_folder_24dp.xml | 14 ++ .../res/drawable/ic_move_folder_white_24dp.xml | 14 -- app/src/main/res/drawable/ic_save_24dp.xml | 14 ++ app/src/main/res/drawable/ic_save_copy_24dp.xml | 14 ++ .../main/res/drawable/ic_save_copy_white_24dp.xml | 14 -- app/src/main/res/drawable/ic_save_white_24dp.xml | 14 -- app/src/main/res/drawable/ic_search_24dp.xml | 14 ++ app/src/main/res/drawable/ic_search_white_24dp.xml | 14 -- app/src/main/res/drawable/ic_share_24dp.xml | 14 ++ app/src/main/res/drawable/ic_share_white_24dp.xml | 14 -- .../res/layout/activity_oreo_autofill_filter.xml | 8 +- .../activity_oreo_autofill_publisher_changed.xml | 8 +- .../main/res/layout/activity_oreo_autofill_sms.xml | 8 +- app/src/main/res/layout/autofill_recycler_view.xml | 2 +- app/src/main/res/layout/folder_dialog_fragment.xml | 2 +- .../main/res/layout/fragment_to_clone_or_not.xml | 4 +- app/src/main/res/layout/fragment_xkpwgen.xml | 184 +++++++-------------- .../main/res/layout/password_creation_activity.xml | 6 +- app/src/main/res/layout/password_recycler_view.xml | 2 +- app/src/main/res/menu/autofill_preference.xml | 2 +- app/src/main/res/menu/context_pass.xml | 6 +- app/src/main/res/menu/main_menu_git.xml | 2 +- app/src/main/res/menu/main_menu_no_auth.xml | 2 +- app/src/main/res/menu/main_menu_non_git.xml | 2 +- app/src/main/res/menu/pgp_handler.xml | 6 +- app/src/main/res/menu/pgp_handler_new_password.xml | 9 +- .../main/res/menu/pgp_handler_select_folder.xml | 2 +- app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml | 10 +- .../res/mipmap-anydpi-v26/ic_launcher_round.xml | 10 +- app/src/main/res/mipmap-hdpi/ic_launcher.png | Bin 1894 -> 0 bytes app/src/main/res/mipmap-hdpi/ic_launcher.webp | Bin 0 -> 4432 bytes .../res/mipmap-hdpi/ic_launcher_foreground.webp | Bin 0 -> 5806 bytes app/src/main/res/mipmap-hdpi/ic_launcher_round.png | Bin 4048 -> 0 bytes .../main/res/mipmap-hdpi/ic_launcher_round.webp | Bin 0 -> 4432 bytes app/src/main/res/mipmap-mdpi/ic_launcher.png | Bin 1358 -> 0 bytes app/src/main/res/mipmap-mdpi/ic_launcher.webp | Bin 0 -> 2734 bytes .../res/mipmap-mdpi/ic_launcher_foreground.webp | Bin 0 -> 3118 bytes app/src/main/res/mipmap-mdpi/ic_launcher_round.png | Bin 2626 -> 0 bytes .../main/res/mipmap-mdpi/ic_launcher_round.webp | Bin 0 -> 2734 bytes app/src/main/res/mipmap-xhdpi/ic_launcher.png | Bin 2501 -> 0 bytes app/src/main/res/mipmap-xhdpi/ic_launcher.webp | Bin 0 -> 6396 bytes .../res/mipmap-xhdpi/ic_launcher_foreground.webp | Bin 0 -> 9154 bytes .../main/res/mipmap-xhdpi/ic_launcher_round.png | Bin 5649 -> 0 bytes .../main/res/mipmap-xhdpi/ic_launcher_round.webp | Bin 0 -> 6396 bytes app/src/main/res/mipmap-xxhdpi/ic_launcher.png | Bin 4045 -> 0 bytes app/src/main/res/mipmap-xxhdpi/ic_launcher.webp | Bin 0 -> 10310 bytes .../res/mipmap-xxhdpi/ic_launcher_foreground.webp | Bin 0 -> 18578 bytes .../main/res/mipmap-xxhdpi/ic_launcher_round.png | Bin 8679 -> 0 bytes .../main/res/mipmap-xxhdpi/ic_launcher_round.webp | Bin 0 -> 10310 bytes app/src/main/res/mipmap-xxxhdpi/ic_launcher.png | Bin 5385 -> 0 bytes app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp | Bin 0 -> 15052 bytes .../res/mipmap-xxxhdpi/ic_launcher_foreground.webp | Bin 0 -> 32042 bytes .../main/res/mipmap-xxxhdpi/ic_launcher_round.png | Bin 12286 -> 0 bytes .../main/res/mipmap-xxxhdpi/ic_launcher_round.webp | Bin 0 -> 15052 bytes app/src/main/res/values-night/bools.xml | 4 + app/src/main/res/values-night/colors.xml | 3 +- app/src/main/res/values/bools.xml | 1 + app/src/main/res/values/colors.xml | 16 +- app/src/main/res/values/strings.xml | 4 +- app/src/main/res/values/styles.xml | 36 ++-- 82 files changed, 413 insertions(+), 401 deletions(-) create mode 100644 app/src/main/res/color/outlined_box_selector.xml delete mode 100644 app/src/main/res/drawable-nodpi/autofill_ins_1.png create mode 100644 app/src/main/res/drawable-nodpi/autofill_ins_1.webp delete mode 100644 app/src/main/res/drawable-nodpi/autofill_ins_2.png create mode 100644 app/src/main/res/drawable-nodpi/autofill_ins_2.webp delete mode 100644 app/src/main/res/drawable-nodpi/autofill_ins_3.png create mode 100644 app/src/main/res/drawable-nodpi/autofill_ins_3.webp create mode 100644 app/src/main/res/drawable-v24/ic_launcher_background.xml create mode 100644 app/src/main/res/drawable/ic_add_48dp.xml delete mode 100644 app/src/main/res/drawable/ic_add_white_48dp.xml delete mode 100644 app/src/main/res/drawable/ic_clear_white_24dp.xml delete mode 100644 app/src/main/res/drawable/ic_content_copy_white_24dp.xml create mode 100644 app/src/main/res/drawable/ic_delete_24dp.xml delete mode 100644 app/src/main/res/drawable/ic_delete_white_24dp.xml create mode 100644 app/src/main/res/drawable/ic_done_24dp.xml delete mode 100644 app/src/main/res/drawable/ic_done_white_24dp.xml create mode 100644 app/src/main/res/drawable/ic_edit_24dp.xml delete mode 100644 app/src/main/res/drawable/ic_edit_white_24dp.xml delete mode 100644 app/src/main/res/drawable/ic_launcher_foreground.xml create mode 100644 app/src/main/res/drawable/ic_move_folder_24dp.xml delete mode 100644 app/src/main/res/drawable/ic_move_folder_white_24dp.xml create mode 100644 app/src/main/res/drawable/ic_save_24dp.xml create mode 100644 app/src/main/res/drawable/ic_save_copy_24dp.xml delete mode 100644 app/src/main/res/drawable/ic_save_copy_white_24dp.xml delete mode 100644 app/src/main/res/drawable/ic_save_white_24dp.xml create mode 100644 app/src/main/res/drawable/ic_search_24dp.xml delete mode 100644 app/src/main/res/drawable/ic_search_white_24dp.xml create mode 100644 app/src/main/res/drawable/ic_share_24dp.xml delete mode 100644 app/src/main/res/drawable/ic_share_white_24dp.xml delete mode 100644 app/src/main/res/mipmap-hdpi/ic_launcher.png create mode 100644 app/src/main/res/mipmap-hdpi/ic_launcher.webp create mode 100644 app/src/main/res/mipmap-hdpi/ic_launcher_foreground.webp delete mode 100644 app/src/main/res/mipmap-hdpi/ic_launcher_round.png create mode 100644 app/src/main/res/mipmap-hdpi/ic_launcher_round.webp delete mode 100644 app/src/main/res/mipmap-mdpi/ic_launcher.png create mode 100644 app/src/main/res/mipmap-mdpi/ic_launcher.webp create mode 100644 app/src/main/res/mipmap-mdpi/ic_launcher_foreground.webp delete mode 100644 app/src/main/res/mipmap-mdpi/ic_launcher_round.png create mode 100644 app/src/main/res/mipmap-mdpi/ic_launcher_round.webp delete mode 100644 app/src/main/res/mipmap-xhdpi/ic_launcher.png create mode 100644 app/src/main/res/mipmap-xhdpi/ic_launcher.webp create mode 100644 app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.webp delete mode 100644 app/src/main/res/mipmap-xhdpi/ic_launcher_round.png create mode 100644 app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp delete mode 100644 app/src/main/res/mipmap-xxhdpi/ic_launcher.png create mode 100644 app/src/main/res/mipmap-xxhdpi/ic_launcher.webp create mode 100644 app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.webp delete mode 100644 app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png create mode 100644 app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp delete mode 100644 app/src/main/res/mipmap-xxxhdpi/ic_launcher.png create mode 100644 app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp create mode 100644 app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.webp delete mode 100644 app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png create mode 100644 app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp create mode 100644 app/src/main/res/values-night/bools.xml (limited to 'app/src/main/res') diff --git a/app/src/main/res/color/outlined_box_selector.xml b/app/src/main/res/color/outlined_box_selector.xml new file mode 100644 index 00000000..f66b8669 --- /dev/null +++ b/app/src/main/res/color/outlined_box_selector.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/app/src/main/res/drawable-nodpi/autofill_ins_1.png b/app/src/main/res/drawable-nodpi/autofill_ins_1.png deleted file mode 100644 index 35995426..00000000 Binary files a/app/src/main/res/drawable-nodpi/autofill_ins_1.png and /dev/null differ diff --git a/app/src/main/res/drawable-nodpi/autofill_ins_1.webp b/app/src/main/res/drawable-nodpi/autofill_ins_1.webp new file mode 100644 index 00000000..accd87f7 Binary files /dev/null and b/app/src/main/res/drawable-nodpi/autofill_ins_1.webp differ diff --git a/app/src/main/res/drawable-nodpi/autofill_ins_2.png b/app/src/main/res/drawable-nodpi/autofill_ins_2.png deleted file mode 100644 index bd54ea68..00000000 Binary files a/app/src/main/res/drawable-nodpi/autofill_ins_2.png and /dev/null differ diff --git a/app/src/main/res/drawable-nodpi/autofill_ins_2.webp b/app/src/main/res/drawable-nodpi/autofill_ins_2.webp new file mode 100644 index 00000000..f84b2025 Binary files /dev/null and b/app/src/main/res/drawable-nodpi/autofill_ins_2.webp differ diff --git a/app/src/main/res/drawable-nodpi/autofill_ins_3.png b/app/src/main/res/drawable-nodpi/autofill_ins_3.png deleted file mode 100644 index 81fa8ece..00000000 Binary files a/app/src/main/res/drawable-nodpi/autofill_ins_3.png and /dev/null differ diff --git a/app/src/main/res/drawable-nodpi/autofill_ins_3.webp b/app/src/main/res/drawable-nodpi/autofill_ins_3.webp new file mode 100644 index 00000000..23a63151 Binary files /dev/null and b/app/src/main/res/drawable-nodpi/autofill_ins_3.webp differ diff --git a/app/src/main/res/drawable-v24/ic_launcher_background.xml b/app/src/main/res/drawable-v24/ic_launcher_background.xml new file mode 100644 index 00000000..8c1c8731 --- /dev/null +++ b/app/src/main/res/drawable-v24/ic_launcher_background.xml @@ -0,0 +1,152 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/src/main/res/drawable/ic_action_new_folder.xml b/app/src/main/res/drawable/ic_action_new_folder.xml index 34d56be8..f977a24c 100644 --- a/app/src/main/res/drawable/ic_action_new_folder.xml +++ b/app/src/main/res/drawable/ic_action_new_folder.xml @@ -9,6 +9,6 @@ android:viewportWidth="24" android:viewportHeight="24"> diff --git a/app/src/main/res/drawable/ic_action_new_password.xml b/app/src/main/res/drawable/ic_action_new_password.xml index 3d455302..050bf700 100644 --- a/app/src/main/res/drawable/ic_action_new_password.xml +++ b/app/src/main/res/drawable/ic_action_new_password.xml @@ -9,6 +9,6 @@ android:viewportWidth="24" android:viewportHeight="24"> diff --git a/app/src/main/res/drawable/ic_add_48dp.xml b/app/src/main/res/drawable/ic_add_48dp.xml new file mode 100644 index 00000000..704f2e36 --- /dev/null +++ b/app/src/main/res/drawable/ic_add_48dp.xml @@ -0,0 +1,14 @@ + + + + + diff --git a/app/src/main/res/drawable/ic_add_white_48dp.xml b/app/src/main/res/drawable/ic_add_white_48dp.xml deleted file mode 100644 index bb286674..00000000 --- a/app/src/main/res/drawable/ic_add_white_48dp.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - diff --git a/app/src/main/res/drawable/ic_clear_white_24dp.xml b/app/src/main/res/drawable/ic_clear_white_24dp.xml deleted file mode 100644 index 22e773a6..00000000 --- a/app/src/main/res/drawable/ic_clear_white_24dp.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - diff --git a/app/src/main/res/drawable/ic_content_copy.xml b/app/src/main/res/drawable/ic_content_copy.xml index efa36fca..8b48b94d 100644 --- a/app/src/main/res/drawable/ic_content_copy.xml +++ b/app/src/main/res/drawable/ic_content_copy.xml @@ -9,6 +9,6 @@ android:viewportWidth="24" android:viewportHeight="24"> diff --git a/app/src/main/res/drawable/ic_content_copy_white_24dp.xml b/app/src/main/res/drawable/ic_content_copy_white_24dp.xml deleted file mode 100644 index f658feb6..00000000 --- a/app/src/main/res/drawable/ic_content_copy_white_24dp.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - diff --git a/app/src/main/res/drawable/ic_delete_24dp.xml b/app/src/main/res/drawable/ic_delete_24dp.xml new file mode 100644 index 00000000..330ab20d --- /dev/null +++ b/app/src/main/res/drawable/ic_delete_24dp.xml @@ -0,0 +1,14 @@ + + + + + diff --git a/app/src/main/res/drawable/ic_delete_white_24dp.xml b/app/src/main/res/drawable/ic_delete_white_24dp.xml deleted file mode 100644 index 8a8383b0..00000000 --- a/app/src/main/res/drawable/ic_delete_white_24dp.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - diff --git a/app/src/main/res/drawable/ic_done_24dp.xml b/app/src/main/res/drawable/ic_done_24dp.xml new file mode 100644 index 00000000..dcfd1d24 --- /dev/null +++ b/app/src/main/res/drawable/ic_done_24dp.xml @@ -0,0 +1,14 @@ + + + + + diff --git a/app/src/main/res/drawable/ic_done_white_24dp.xml b/app/src/main/res/drawable/ic_done_white_24dp.xml deleted file mode 100644 index f8b24986..00000000 --- a/app/src/main/res/drawable/ic_done_white_24dp.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - diff --git a/app/src/main/res/drawable/ic_edit_24dp.xml b/app/src/main/res/drawable/ic_edit_24dp.xml new file mode 100644 index 00000000..2506262b --- /dev/null +++ b/app/src/main/res/drawable/ic_edit_24dp.xml @@ -0,0 +1,14 @@ + + + + + diff --git a/app/src/main/res/drawable/ic_edit_white_24dp.xml b/app/src/main/res/drawable/ic_edit_white_24dp.xml deleted file mode 100644 index 3ddd4e97..00000000 --- a/app/src/main/res/drawable/ic_edit_white_24dp.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - diff --git a/app/src/main/res/drawable/ic_launcher_foreground.xml b/app/src/main/res/drawable/ic_launcher_foreground.xml deleted file mode 100644 index f299dbc2..00000000 --- a/app/src/main/res/drawable/ic_launcher_foreground.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - diff --git a/app/src/main/res/drawable/ic_move_folder_24dp.xml b/app/src/main/res/drawable/ic_move_folder_24dp.xml new file mode 100644 index 00000000..0f068028 --- /dev/null +++ b/app/src/main/res/drawable/ic_move_folder_24dp.xml @@ -0,0 +1,14 @@ + + + + + diff --git a/app/src/main/res/drawable/ic_move_folder_white_24dp.xml b/app/src/main/res/drawable/ic_move_folder_white_24dp.xml deleted file mode 100644 index 4bd7c896..00000000 --- a/app/src/main/res/drawable/ic_move_folder_white_24dp.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - diff --git a/app/src/main/res/drawable/ic_save_24dp.xml b/app/src/main/res/drawable/ic_save_24dp.xml new file mode 100644 index 00000000..65e9ddcc --- /dev/null +++ b/app/src/main/res/drawable/ic_save_24dp.xml @@ -0,0 +1,14 @@ + + + + + diff --git a/app/src/main/res/drawable/ic_save_copy_24dp.xml b/app/src/main/res/drawable/ic_save_copy_24dp.xml new file mode 100644 index 00000000..f491a461 --- /dev/null +++ b/app/src/main/res/drawable/ic_save_copy_24dp.xml @@ -0,0 +1,14 @@ + + + + + diff --git a/app/src/main/res/drawable/ic_save_copy_white_24dp.xml b/app/src/main/res/drawable/ic_save_copy_white_24dp.xml deleted file mode 100644 index f93daf79..00000000 --- a/app/src/main/res/drawable/ic_save_copy_white_24dp.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - diff --git a/app/src/main/res/drawable/ic_save_white_24dp.xml b/app/src/main/res/drawable/ic_save_white_24dp.xml deleted file mode 100644 index 0f1211d1..00000000 --- a/app/src/main/res/drawable/ic_save_white_24dp.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - diff --git a/app/src/main/res/drawable/ic_search_24dp.xml b/app/src/main/res/drawable/ic_search_24dp.xml new file mode 100644 index 00000000..7e871e46 --- /dev/null +++ b/app/src/main/res/drawable/ic_search_24dp.xml @@ -0,0 +1,14 @@ + + + + + diff --git a/app/src/main/res/drawable/ic_search_white_24dp.xml b/app/src/main/res/drawable/ic_search_white_24dp.xml deleted file mode 100644 index f7f738e0..00000000 --- a/app/src/main/res/drawable/ic_search_white_24dp.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - diff --git a/app/src/main/res/drawable/ic_share_24dp.xml b/app/src/main/res/drawable/ic_share_24dp.xml new file mode 100644 index 00000000..5ec00d5f --- /dev/null +++ b/app/src/main/res/drawable/ic_share_24dp.xml @@ -0,0 +1,14 @@ + + + + + diff --git a/app/src/main/res/drawable/ic_share_white_24dp.xml b/app/src/main/res/drawable/ic_share_white_24dp.xml deleted file mode 100644 index 2090328d..00000000 --- a/app/src/main/res/drawable/ic_share_white_24dp.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - diff --git a/app/src/main/res/layout/activity_oreo_autofill_filter.xml b/app/src/main/res/layout/activity_oreo_autofill_filter.xml index 607a5568..10e24bd4 100644 --- a/app/src/main/res/layout/activity_oreo_autofill_filter.xml +++ b/app/src/main/res/layout/activity_oreo_autofill_filter.xml @@ -17,7 +17,7 @@ android:layout_height="50dp" android:background="@color/primary_color" android:contentDescription="@string/app_name" - android:src="@drawable/ic_launcher_foreground" + android:src="@mipmap/ic_launcher_foreground" app:layout_constraintBottom_toTopOf="@id/searchLayout" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" @@ -76,7 +76,7 @@ - - - @@ -48,9 +48,9 @@