From b05dd4cc2ca59122803f39480a81059d75bfe072 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Mon, 13 Feb 2017 22:35:16 -0500 Subject: [PATCH] autofill search UX improvements --- src/Android/Android.csproj | 10 +- src/Android/Resources/Resource.Designer.cs | 314 +++++++++--------- src/Android/Resources/drawable-hdpi/close.png | Bin 347 -> 0 bytes .../Resources/drawable-hdpi/search.png | Bin 0 -> 519 bytes .../Resources/drawable-xhdpi/close.png | Bin 404 -> 0 bytes .../Resources/drawable-xhdpi/search.png | Bin 0 -> 693 bytes .../Resources/drawable-xxhdpi/close.png | Bin 374 -> 0 bytes .../Resources/drawable-xxhdpi/search.png | Bin 0 -> 957 bytes .../Resources/drawable-xxxhdpi/close.png | Bin 564 -> 0 bytes .../Resources/drawable-xxxhdpi/search.png | Bin 0 -> 1293 bytes src/Android/Resources/drawable/close.png | Bin 312 -> 0 bytes src/Android/Resources/drawable/search.png | Bin 0 -> 449 bytes .../Vault/VaultAutofillListLoginsPage.cs | 32 +- src/App/Resources/AppResources.Designer.cs | 18 + src/App/Resources/AppResources.resx | 6 + 15 files changed, 203 insertions(+), 177 deletions(-) delete mode 100644 src/Android/Resources/drawable-hdpi/close.png create mode 100644 src/Android/Resources/drawable-hdpi/search.png delete mode 100644 src/Android/Resources/drawable-xhdpi/close.png create mode 100644 src/Android/Resources/drawable-xhdpi/search.png delete mode 100644 src/Android/Resources/drawable-xxhdpi/close.png create mode 100644 src/Android/Resources/drawable-xxhdpi/search.png delete mode 100644 src/Android/Resources/drawable-xxxhdpi/close.png create mode 100644 src/Android/Resources/drawable-xxxhdpi/search.png delete mode 100644 src/Android/Resources/drawable/close.png create mode 100644 src/Android/Resources/drawable/search.png diff --git a/src/Android/Android.csproj b/src/Android/Android.csproj index d21e7b4a4..4cb6d50ce 100644 --- a/src/Android/Android.csproj +++ b/src/Android/Android.csproj @@ -815,19 +815,19 @@ - + - + - + - + - + diff --git a/src/Android/Resources/Resource.Designer.cs b/src/Android/Resources/Resource.Designer.cs index 122651681..cde90eebe 100644 --- a/src/Android/Resources/Resource.Designer.cs +++ b/src/Android/Resources/Resource.Designer.cs @@ -2293,472 +2293,472 @@ namespace Bit.Android public const int accessibility_step2 = 2130837582; // aapt resource value: 0x7f02004f - public const int close = 2130837583; + public const int cloudup = 2130837583; // aapt resource value: 0x7f020050 - public const int cloudup = 2130837584; + public const int cogs = 2130837584; // aapt resource value: 0x7f020051 - public const int cogs = 2130837585; + public const int cogs_selected = 2130837585; // aapt resource value: 0x7f020052 - public const int cogs_selected = 2130837586; + public const int common_full_open_on_phone = 2130837586; // aapt resource value: 0x7f020053 - public const int common_full_open_on_phone = 2130837587; + public const int common_google_signin_btn_icon_dark = 2130837587; // aapt resource value: 0x7f020054 - public const int common_google_signin_btn_icon_dark = 2130837588; + public const int common_google_signin_btn_icon_dark_disabled = 2130837588; // aapt resource value: 0x7f020055 - public const int common_google_signin_btn_icon_dark_disabled = 2130837589; + public const int common_google_signin_btn_icon_dark_focused = 2130837589; // aapt resource value: 0x7f020056 - public const int common_google_signin_btn_icon_dark_focused = 2130837590; + public const int common_google_signin_btn_icon_dark_normal = 2130837590; // aapt resource value: 0x7f020057 - public const int common_google_signin_btn_icon_dark_normal = 2130837591; + public const int common_google_signin_btn_icon_dark_pressed = 2130837591; // aapt resource value: 0x7f020058 - public const int common_google_signin_btn_icon_dark_pressed = 2130837592; + public const int common_google_signin_btn_icon_light = 2130837592; // aapt resource value: 0x7f020059 - public const int common_google_signin_btn_icon_light = 2130837593; + public const int common_google_signin_btn_icon_light_disabled = 2130837593; // aapt resource value: 0x7f02005a - public const int common_google_signin_btn_icon_light_disabled = 2130837594; + public const int common_google_signin_btn_icon_light_focused = 2130837594; // aapt resource value: 0x7f02005b - public const int common_google_signin_btn_icon_light_focused = 2130837595; + public const int common_google_signin_btn_icon_light_normal = 2130837595; // aapt resource value: 0x7f02005c - public const int common_google_signin_btn_icon_light_normal = 2130837596; + public const int common_google_signin_btn_icon_light_pressed = 2130837596; // aapt resource value: 0x7f02005d - public const int common_google_signin_btn_icon_light_pressed = 2130837597; + public const int common_google_signin_btn_text_dark = 2130837597; // aapt resource value: 0x7f02005e - public const int common_google_signin_btn_text_dark = 2130837598; + public const int common_google_signin_btn_text_dark_disabled = 2130837598; // aapt resource value: 0x7f02005f - public const int common_google_signin_btn_text_dark_disabled = 2130837599; + public const int common_google_signin_btn_text_dark_focused = 2130837599; // aapt resource value: 0x7f020060 - public const int common_google_signin_btn_text_dark_focused = 2130837600; + public const int common_google_signin_btn_text_dark_normal = 2130837600; // aapt resource value: 0x7f020061 - public const int common_google_signin_btn_text_dark_normal = 2130837601; + public const int common_google_signin_btn_text_dark_pressed = 2130837601; // aapt resource value: 0x7f020062 - public const int common_google_signin_btn_text_dark_pressed = 2130837602; + public const int common_google_signin_btn_text_light = 2130837602; // aapt resource value: 0x7f020063 - public const int common_google_signin_btn_text_light = 2130837603; + public const int common_google_signin_btn_text_light_disabled = 2130837603; // aapt resource value: 0x7f020064 - public const int common_google_signin_btn_text_light_disabled = 2130837604; + public const int common_google_signin_btn_text_light_focused = 2130837604; // aapt resource value: 0x7f020065 - public const int common_google_signin_btn_text_light_focused = 2130837605; + public const int common_google_signin_btn_text_light_normal = 2130837605; // aapt resource value: 0x7f020066 - public const int common_google_signin_btn_text_light_normal = 2130837606; + public const int common_google_signin_btn_text_light_pressed = 2130837606; // aapt resource value: 0x7f020067 - public const int common_google_signin_btn_text_light_pressed = 2130837607; + public const int common_ic_googleplayservices = 2130837607; // aapt resource value: 0x7f020068 - public const int common_ic_googleplayservices = 2130837608; + public const int common_plus_signin_btn_icon_dark = 2130837608; // aapt resource value: 0x7f020069 - public const int common_plus_signin_btn_icon_dark = 2130837609; + public const int common_plus_signin_btn_icon_dark_disabled = 2130837609; // aapt resource value: 0x7f02006a - public const int common_plus_signin_btn_icon_dark_disabled = 2130837610; + public const int common_plus_signin_btn_icon_dark_focused = 2130837610; // aapt resource value: 0x7f02006b - public const int common_plus_signin_btn_icon_dark_focused = 2130837611; + public const int common_plus_signin_btn_icon_dark_normal = 2130837611; // aapt resource value: 0x7f02006c - public const int common_plus_signin_btn_icon_dark_normal = 2130837612; + public const int common_plus_signin_btn_icon_dark_pressed = 2130837612; // aapt resource value: 0x7f02006d - public const int common_plus_signin_btn_icon_dark_pressed = 2130837613; + public const int common_plus_signin_btn_icon_light = 2130837613; // aapt resource value: 0x7f02006e - public const int common_plus_signin_btn_icon_light = 2130837614; + public const int common_plus_signin_btn_icon_light_disabled = 2130837614; // aapt resource value: 0x7f02006f - public const int common_plus_signin_btn_icon_light_disabled = 2130837615; + public const int common_plus_signin_btn_icon_light_focused = 2130837615; // aapt resource value: 0x7f020070 - public const int common_plus_signin_btn_icon_light_focused = 2130837616; + public const int common_plus_signin_btn_icon_light_normal = 2130837616; // aapt resource value: 0x7f020071 - public const int common_plus_signin_btn_icon_light_normal = 2130837617; + public const int common_plus_signin_btn_icon_light_pressed = 2130837617; // aapt resource value: 0x7f020072 - public const int common_plus_signin_btn_icon_light_pressed = 2130837618; + public const int common_plus_signin_btn_text_dark = 2130837618; // aapt resource value: 0x7f020073 - public const int common_plus_signin_btn_text_dark = 2130837619; + public const int common_plus_signin_btn_text_dark_disabled = 2130837619; // aapt resource value: 0x7f020074 - public const int common_plus_signin_btn_text_dark_disabled = 2130837620; + public const int common_plus_signin_btn_text_dark_focused = 2130837620; // aapt resource value: 0x7f020075 - public const int common_plus_signin_btn_text_dark_focused = 2130837621; + public const int common_plus_signin_btn_text_dark_normal = 2130837621; // aapt resource value: 0x7f020076 - public const int common_plus_signin_btn_text_dark_normal = 2130837622; + public const int common_plus_signin_btn_text_dark_pressed = 2130837622; // aapt resource value: 0x7f020077 - public const int common_plus_signin_btn_text_dark_pressed = 2130837623; + public const int common_plus_signin_btn_text_light = 2130837623; // aapt resource value: 0x7f020078 - public const int common_plus_signin_btn_text_light = 2130837624; + public const int common_plus_signin_btn_text_light_disabled = 2130837624; // aapt resource value: 0x7f020079 - public const int common_plus_signin_btn_text_light_disabled = 2130837625; + public const int common_plus_signin_btn_text_light_focused = 2130837625; // aapt resource value: 0x7f02007a - public const int common_plus_signin_btn_text_light_focused = 2130837626; + public const int common_plus_signin_btn_text_light_normal = 2130837626; // aapt resource value: 0x7f02007b - public const int common_plus_signin_btn_text_light_normal = 2130837627; + public const int common_plus_signin_btn_text_light_pressed = 2130837627; // aapt resource value: 0x7f02007c - public const int common_plus_signin_btn_text_light_pressed = 2130837628; + public const int design_fab_background = 2130837628; // aapt resource value: 0x7f02007d - public const int design_fab_background = 2130837629; + public const int design_snackbar_background = 2130837629; // aapt resource value: 0x7f02007e - public const int design_snackbar_background = 2130837630; + public const int envelope = 2130837630; // aapt resource value: 0x7f02007f - public const int envelope = 2130837631; + public const int eye = 2130837631; // aapt resource value: 0x7f020080 - public const int eye = 2130837632; + public const int eye_slash = 2130837632; // aapt resource value: 0x7f020081 - public const int eye_slash = 2130837633; + public const int fa_lock = 2130837633; // aapt resource value: 0x7f020082 - public const int fa_lock = 2130837634; + public const int fa_lock_selected = 2130837634; // aapt resource value: 0x7f020083 - public const int fa_lock_selected = 2130837635; + public const int fingerprint = 2130837635; // aapt resource value: 0x7f020084 - public const int fingerprint = 2130837636; + public const int fingerprint_white = 2130837636; // aapt resource value: 0x7f020085 - public const int fingerprint_white = 2130837637; + public const int folder = 2130837637; // aapt resource value: 0x7f020086 - public const int folder = 2130837638; + public const int globe = 2130837638; // aapt resource value: 0x7f020087 - public const int globe = 2130837639; + public const int hockeyapp_btn_background = 2130837639; // aapt resource value: 0x7f020088 - public const int hockeyapp_btn_background = 2130837640; + public const int ic_audiotrack = 2130837640; // aapt resource value: 0x7f020089 - public const int ic_audiotrack = 2130837641; + public const int ic_audiotrack_light = 2130837641; // aapt resource value: 0x7f02008a - public const int ic_audiotrack_light = 2130837642; + public const int ic_bluetooth_grey = 2130837642; // aapt resource value: 0x7f02008b - public const int ic_bluetooth_grey = 2130837643; + public const int ic_bluetooth_white = 2130837643; // aapt resource value: 0x7f02008c - public const int ic_bluetooth_white = 2130837644; + public const int ic_cast_dark = 2130837644; // aapt resource value: 0x7f02008d - public const int ic_cast_dark = 2130837645; + public const int ic_cast_disabled_light = 2130837645; // aapt resource value: 0x7f02008e - public const int ic_cast_disabled_light = 2130837646; + public const int ic_cast_grey = 2130837646; // aapt resource value: 0x7f02008f - public const int ic_cast_grey = 2130837647; + public const int ic_cast_light = 2130837647; // aapt resource value: 0x7f020090 - public const int ic_cast_light = 2130837648; + public const int ic_cast_off_light = 2130837648; // aapt resource value: 0x7f020091 - public const int ic_cast_off_light = 2130837649; + public const int ic_cast_on_0_light = 2130837649; // aapt resource value: 0x7f020092 - public const int ic_cast_on_0_light = 2130837650; + public const int ic_cast_on_1_light = 2130837650; // aapt resource value: 0x7f020093 - public const int ic_cast_on_1_light = 2130837651; + public const int ic_cast_on_2_light = 2130837651; // aapt resource value: 0x7f020094 - public const int ic_cast_on_2_light = 2130837652; + public const int ic_cast_on_light = 2130837652; // aapt resource value: 0x7f020095 - public const int ic_cast_on_light = 2130837653; + public const int ic_cast_white = 2130837653; // aapt resource value: 0x7f020096 - public const int ic_cast_white = 2130837654; + public const int ic_close_dark = 2130837654; // aapt resource value: 0x7f020097 - public const int ic_close_dark = 2130837655; + public const int ic_close_light = 2130837655; // aapt resource value: 0x7f020098 - public const int ic_close_light = 2130837656; + public const int ic_collapse = 2130837656; // aapt resource value: 0x7f020099 - public const int ic_collapse = 2130837657; + public const int ic_collapse_00000 = 2130837657; // aapt resource value: 0x7f02009a - public const int ic_collapse_00000 = 2130837658; + public const int ic_collapse_00001 = 2130837658; // aapt resource value: 0x7f02009b - public const int ic_collapse_00001 = 2130837659; + public const int ic_collapse_00002 = 2130837659; // aapt resource value: 0x7f02009c - public const int ic_collapse_00002 = 2130837660; + public const int ic_collapse_00003 = 2130837660; // aapt resource value: 0x7f02009d - public const int ic_collapse_00003 = 2130837661; + public const int ic_collapse_00004 = 2130837661; // aapt resource value: 0x7f02009e - public const int ic_collapse_00004 = 2130837662; + public const int ic_collapse_00005 = 2130837662; // aapt resource value: 0x7f02009f - public const int ic_collapse_00005 = 2130837663; + public const int ic_collapse_00006 = 2130837663; // aapt resource value: 0x7f0200a0 - public const int ic_collapse_00006 = 2130837664; + public const int ic_collapse_00007 = 2130837664; // aapt resource value: 0x7f0200a1 - public const int ic_collapse_00007 = 2130837665; + public const int ic_collapse_00008 = 2130837665; // aapt resource value: 0x7f0200a2 - public const int ic_collapse_00008 = 2130837666; + public const int ic_collapse_00009 = 2130837666; // aapt resource value: 0x7f0200a3 - public const int ic_collapse_00009 = 2130837667; + public const int ic_collapse_00010 = 2130837667; // aapt resource value: 0x7f0200a4 - public const int ic_collapse_00010 = 2130837668; + public const int ic_collapse_00011 = 2130837668; // aapt resource value: 0x7f0200a5 - public const int ic_collapse_00011 = 2130837669; + public const int ic_collapse_00012 = 2130837669; // aapt resource value: 0x7f0200a6 - public const int ic_collapse_00012 = 2130837670; + public const int ic_collapse_00013 = 2130837670; // aapt resource value: 0x7f0200a7 - public const int ic_collapse_00013 = 2130837671; + public const int ic_collapse_00014 = 2130837671; // aapt resource value: 0x7f0200a8 - public const int ic_collapse_00014 = 2130837672; + public const int ic_collapse_00015 = 2130837672; // aapt resource value: 0x7f0200a9 - public const int ic_collapse_00015 = 2130837673; + public const int ic_errorstatus = 2130837673; // aapt resource value: 0x7f0200aa - public const int ic_errorstatus = 2130837674; + public const int ic_expand = 2130837674; // aapt resource value: 0x7f0200ab - public const int ic_expand = 2130837675; + public const int ic_expand_00000 = 2130837675; // aapt resource value: 0x7f0200ac - public const int ic_expand_00000 = 2130837676; + public const int ic_expand_00001 = 2130837676; // aapt resource value: 0x7f0200ad - public const int ic_expand_00001 = 2130837677; + public const int ic_expand_00002 = 2130837677; // aapt resource value: 0x7f0200ae - public const int ic_expand_00002 = 2130837678; + public const int ic_expand_00003 = 2130837678; // aapt resource value: 0x7f0200af - public const int ic_expand_00003 = 2130837679; + public const int ic_expand_00004 = 2130837679; // aapt resource value: 0x7f0200b0 - public const int ic_expand_00004 = 2130837680; + public const int ic_expand_00005 = 2130837680; // aapt resource value: 0x7f0200b1 - public const int ic_expand_00005 = 2130837681; + public const int ic_expand_00006 = 2130837681; // aapt resource value: 0x7f0200b2 - public const int ic_expand_00006 = 2130837682; + public const int ic_expand_00007 = 2130837682; // aapt resource value: 0x7f0200b3 - public const int ic_expand_00007 = 2130837683; + public const int ic_expand_00008 = 2130837683; // aapt resource value: 0x7f0200b4 - public const int ic_expand_00008 = 2130837684; + public const int ic_expand_00009 = 2130837684; // aapt resource value: 0x7f0200b5 - public const int ic_expand_00009 = 2130837685; + public const int ic_expand_00010 = 2130837685; // aapt resource value: 0x7f0200b6 - public const int ic_expand_00010 = 2130837686; + public const int ic_expand_00011 = 2130837686; // aapt resource value: 0x7f0200b7 - public const int ic_expand_00011 = 2130837687; + public const int ic_expand_00012 = 2130837687; // aapt resource value: 0x7f0200b8 - public const int ic_expand_00012 = 2130837688; + public const int ic_expand_00013 = 2130837688; // aapt resource value: 0x7f0200b9 - public const int ic_expand_00013 = 2130837689; + public const int ic_expand_00014 = 2130837689; // aapt resource value: 0x7f0200ba - public const int ic_expand_00014 = 2130837690; + public const int ic_expand_00015 = 2130837690; // aapt resource value: 0x7f0200bb - public const int ic_expand_00015 = 2130837691; + public const int ic_media_pause = 2130837691; // aapt resource value: 0x7f0200bc - public const int ic_media_pause = 2130837692; + public const int ic_media_play = 2130837692; // aapt resource value: 0x7f0200bd - public const int ic_media_play = 2130837693; + public const int ic_media_route_disabled_mono_dark = 2130837693; // aapt resource value: 0x7f0200be - public const int ic_media_route_disabled_mono_dark = 2130837694; + public const int ic_media_route_off_mono_dark = 2130837694; // aapt resource value: 0x7f0200bf - public const int ic_media_route_off_mono_dark = 2130837695; + public const int ic_media_route_on_0_mono_dark = 2130837695; // aapt resource value: 0x7f0200c0 - public const int ic_media_route_on_0_mono_dark = 2130837696; + public const int ic_media_route_on_1_mono_dark = 2130837696; // aapt resource value: 0x7f0200c1 - public const int ic_media_route_on_1_mono_dark = 2130837697; + public const int ic_media_route_on_2_mono_dark = 2130837697; // aapt resource value: 0x7f0200c2 - public const int ic_media_route_on_2_mono_dark = 2130837698; + public const int ic_media_route_on_mono_dark = 2130837698; // aapt resource value: 0x7f0200c3 - public const int ic_media_route_on_mono_dark = 2130837699; + public const int ic_pause_dark = 2130837699; // aapt resource value: 0x7f0200c4 - public const int ic_pause_dark = 2130837700; + public const int ic_pause_light = 2130837700; // aapt resource value: 0x7f0200c5 - public const int ic_pause_light = 2130837701; + public const int ic_play_dark = 2130837701; // aapt resource value: 0x7f0200c6 - public const int ic_play_dark = 2130837702; + public const int ic_play_light = 2130837702; // aapt resource value: 0x7f0200c7 - public const int ic_play_light = 2130837703; + public const int ic_speaker_dark = 2130837703; // aapt resource value: 0x7f0200c8 - public const int ic_speaker_dark = 2130837704; + public const int ic_speaker_group_dark = 2130837704; // aapt resource value: 0x7f0200c9 - public const int ic_speaker_group_dark = 2130837705; + public const int ic_speaker_group_light = 2130837705; // aapt resource value: 0x7f0200ca - public const int ic_speaker_group_light = 2130837706; + public const int ic_speaker_light = 2130837706; // aapt resource value: 0x7f0200cb - public const int ic_speaker_light = 2130837707; + public const int ic_successstatus = 2130837707; // aapt resource value: 0x7f0200cc - public const int ic_successstatus = 2130837708; + public const int ic_tv_dark = 2130837708; // aapt resource value: 0x7f0200cd - public const int ic_tv_dark = 2130837709; + public const int ic_tv_light = 2130837709; // aapt resource value: 0x7f0200ce - public const int ic_tv_light = 2130837710; + public const int icon = 2130837710; // aapt resource value: 0x7f0200cf - public const int icon = 2130837711; + public const int ion_chevron_right = 2130837711; // aapt resource value: 0x7f0200d0 - public const int ion_chevron_right = 2130837712; + public const int lightbulb = 2130837712; // aapt resource value: 0x7f0200d1 - public const int lightbulb = 2130837713; + public const int list_selector = 2130837713; // aapt resource value: 0x7f0200d2 - public const int list_selector = 2130837714; + public const int @lock = 2130837714; // aapt resource value: 0x7f0200d3 - public const int @lock = 2130837715; + public const int logo = 2130837715; // aapt resource value: 0x7f0200d4 - public const int logo = 2130837716; + public const int more = 2130837716; // aapt resource value: 0x7f0200d5 - public const int more = 2130837717; + public const int mr_dialog_material_background_dark = 2130837717; // aapt resource value: 0x7f0200d6 - public const int mr_dialog_material_background_dark = 2130837718; + public const int mr_dialog_material_background_light = 2130837718; // aapt resource value: 0x7f0200d7 - public const int mr_dialog_material_background_light = 2130837719; + public const int mr_ic_audiotrack_light = 2130837719; // aapt resource value: 0x7f0200d8 - public const int mr_ic_audiotrack_light = 2130837720; + public const int mr_ic_cast_dark = 2130837720; // aapt resource value: 0x7f0200d9 - public const int mr_ic_cast_dark = 2130837721; + public const int mr_ic_cast_light = 2130837721; // aapt resource value: 0x7f0200da - public const int mr_ic_cast_light = 2130837722; + public const int mr_ic_close_dark = 2130837722; // aapt resource value: 0x7f0200db - public const int mr_ic_close_dark = 2130837723; + public const int mr_ic_close_light = 2130837723; // aapt resource value: 0x7f0200dc - public const int mr_ic_close_light = 2130837724; + public const int mr_ic_media_route_connecting_mono_dark = 2130837724; // aapt resource value: 0x7f0200dd - public const int mr_ic_media_route_connecting_mono_dark = 2130837725; + public const int mr_ic_media_route_connecting_mono_light = 2130837725; // aapt resource value: 0x7f0200de - public const int mr_ic_media_route_connecting_mono_light = 2130837726; + public const int mr_ic_media_route_mono_dark = 2130837726; // aapt resource value: 0x7f0200df - public const int mr_ic_media_route_mono_dark = 2130837727; + public const int mr_ic_media_route_mono_light = 2130837727; // aapt resource value: 0x7f0200e0 - public const int mr_ic_media_route_mono_light = 2130837728; + public const int mr_ic_pause_dark = 2130837728; // aapt resource value: 0x7f0200e1 - public const int mr_ic_pause_dark = 2130837729; + public const int mr_ic_pause_light = 2130837729; // aapt resource value: 0x7f0200e2 - public const int mr_ic_pause_light = 2130837730; + public const int mr_ic_play_dark = 2130837730; // aapt resource value: 0x7f0200e3 - public const int mr_ic_play_dark = 2130837731; + public const int mr_ic_play_light = 2130837731; // aapt resource value: 0x7f0200e4 - public const int mr_ic_play_light = 2130837732; - - // aapt resource value: 0x7f0200e5 - public const int notification_sm = 2130837733; + public const int notification_sm = 2130837732; // aapt resource value: 0x7f0200f1 public const int notification_template_icon_bg = 2130837745; + // aapt resource value: 0x7f0200e5 + public const int plus = 2130837733; + // aapt resource value: 0x7f0200e6 - public const int plus = 2130837734; + public const int refresh = 2130837734; // aapt resource value: 0x7f0200e7 - public const int refresh = 2130837735; + public const int roundedbg = 2130837735; // aapt resource value: 0x7f0200e8 - public const int roundedbg = 2130837736; + public const int roundedbgdark = 2130837736; // aapt resource value: 0x7f0200e9 - public const int roundedbgdark = 2130837737; + public const int search = 2130837737; // aapt resource value: 0x7f0200ea public const int splash_screen = 2130837738; diff --git a/src/Android/Resources/drawable-hdpi/close.png b/src/Android/Resources/drawable-hdpi/close.png deleted file mode 100644 index 6335d4fd6f4e62f1286b53fd6f91a1a5a4a4c2cb..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 347 zcmeAS@N?(olHy`uVBq!ia0vp^(jd&i3?z4Pv7`g3kN}?$S0MeL+Q1;*W*W${k|4ie z21X`9VF@WU4NWa=!;I>>*0zqGS#zJgc>VS-tBy1)P}yux7sn8d;L=Ms#hMIwSS~mQ z6tZ`9J^TMZSZLce$=??yU;aJGhdF`0h->%ih2KQxbzODe$JgBPDE3I=h3$VMN}}e- z$gVwOxJdH+l%O*l8Q~>c6c9Jl{1rSw6d|YFD$L7tgczKc-g9*yH1=sbN=GxtM?u}dh+7+ z+xOpprrb;`0_uP4>EaloalZEa?XW`z0<8}v7sxGW(p|yGAFx0upzGHEzw^&_%S}qt z-L*dL>FHZDJAmMrns(P2pO8Z;@mDNu%ThNSJAM4Xa(}CnwlT~%OoDnZDIcizE@lXR zzd*a;neSh=p6p1*<-eXWC+t1@mBVLMC8x^2Yb#&hWSW>SI3YBdv7~Ob!^LF#b;TlO z@2biw*B;X>_@J$8u==_2heu}^ra#-yZ4<)$;mW-`3^J1@dQ6F6cyz68n!?i?50|m0 z7UucspD&bL;5YsDqw?=&!4nHR>fZft__U6_cxT^lZME$`|GEA8#NYMDuy$k2EH$8a O89ZJ6T-G@yGywo8j5|k3?#4J%UA`Zk^_7~T!Hj|8iQG`ybFNVD3k>G z1v46e*K=kt?)Ha?Ez00#}Etu+KV^E znhbbYE)+7C7anGv`saUm7Pr%_G%Nnx^CxRF*%+=ph&;1v_oQHp0L@wL;Zr$6U6mhA zG4`=kE}H-7!Niqa)8+4~J@ArT#pE24;xkpkSyC-+vojr2d&BPZ zXr%}2vo7gl*ZR9(A5CiDSr>=_@DseP8L-vyf-9#$^WU zwH=%yrctpgey%<*vtlLVwsSgnS1&uZ@|yGm58e%tfBW=1kDBn5AJ)tU`h~&M)z4*} HQ$iB}YaQ0E diff --git a/src/Android/Resources/drawable-xhdpi/search.png b/src/Android/Resources/drawable-xhdpi/search.png new file mode 100644 index 0000000000000000000000000000000000000000..8c94f938c363f8124497ec9bbf3ab570a24d9c3b GIT binary patch literal 693 zcmeAS@N?(olHy`uVBq!ia0vp^Dj>|k3?#4J%UA`Zt_JvoxB}__!wwuWxw8`JF}IQ+ zzhDMNCT12^ZXRAf0Z}n2X&G5Lc?Cr!Wg}w~QwtjxS2s^DAHRUWppek8=$MRxlFAvg z<}NyV{KT1a=PzHq{`&3v&tJd){QXzYLMDlUfzi{`#WBR<^wi0<&P@ga$Cd|VMcv}w z%duCIF)M%a7M37^JKz6%9OWyJ?tby}yizN!x6^zQ?=|t? zoPt^MQ)gNSUD|qLk3i?V%4c?)x35c<=-Ykvkn}pa4`#xwNvTrJ#U~uNUsb%Fdzo{^ z*L}rp2Ug^KvR$CZ)%;C8>tkx!i_SQ?Z!heVKOPFsdcJr2WrfVH2~O{S%y6~fE!ep~ z@74ZPM%{}#&V11!Q`o8`je_jgFt2?j^F46+hnw|L3};JRG7j}i9NTo>_^t0NwnGim z?=*z^-_eMesycZ!YtMBJ-Pn}$tLDcAE%7h#TYFx-e*gK8-$Qqxf^(iOjv*eMZ?Aar9aa!vIC#=ep>y-c z|Lc!Mm>pbm_U;^s%vVhT-8+g!s{9WA%{(8VY0YxVY5B3UM=g)enPt}QAh`UQ@AG%p zoR|xSdJ!{ty`qEZdKR1gaGUTUz_wwN=YM|J4h%ohu*zAW@6WZL zEw`4|z1~yIw(3Ic(cOLLUS}Ew==zHl*$|`;aL N;OXk;vd$@?2>{fF#{vKV diff --git a/src/Android/Resources/drawable-xxhdpi/search.png b/src/Android/Resources/drawable-xxhdpi/search.png new file mode 100644 index 0000000000000000000000000000000000000000..af62be6d58524b407fe22cb64383bfef7c11bd52 GIT binary patch literal 957 zcmeAS@N?(olHy`uVBq!ia0vp^W+2SL3?z5Yp7oxAfss4FC&U%V{XYu8A<${Navm@^ zB1(e%f*BZ@m|0la*f}`4`GkZ;M8(8q<>VEVw6t|}_4Ex4jf_pKZ5^6ATx9;}R{#~&x)~c-z>6>zlwwcbPmJ!EUt^SO^SwSNC+WK4R+U2cOw}Z<=_W~YE*qPy6MpwG)z$L^ z=h8c})_MJz)9h9oU%oAIC(6U`>fyqV>h>{hdO6LXgDlSYx5ljT-R~_HyZTh5A^W1= z@A)z={IGA2n=|$Cv!7=J=GX7NU&^&(zmWx_GV`C=Qj>x?@>Dt6?@RMD8caBLCrBYr zhKpJA#8*cH@4tIDiOp<~h}gG1uj#;)RPXxAzf7Wnd7G2DUwHu&9)qW=pUXO@geCx< C9zK5n literal 0 HcmV?d00001 diff --git a/src/Android/Resources/drawable-xxxhdpi/close.png b/src/Android/Resources/drawable-xxxhdpi/close.png deleted file mode 100644 index 115dd3d8fe8d05008f4c78532780a1b8cb8849b3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 564 zcmeAS@N?(olHy`uVBq!ia0vp^9w5xY3?!3`olAjKLV!<*E0F$AOHiXKvkPd4d`XaB zFaskK8waO~nuey9c4Tx+Y+QV1_rz7J*B(7_^VXf8f2aNr(Pm&^O!0Ja42d|r_S$Q| z!v;L83F2WA(+ef1oaXxad;im2rAs@r&A(|rPhV6Mq!MlA;;eN@>Ar1UT%zCSIo4+; zgqWULxh1)6$>hU-CRsO_SWNzMgvWF7;Xkvi9W#sAGLL)O{Rw(Cr+)ie1`bah z8&$3{svPF@UM4(6Y|hM(g?zL*ho z!%*cwpz4W0l?yXHudh&E8h>M=&^uJ&4bE4?*=m#D2E1c!ej892_T|j~2_fmO=VP>I zp6i--^ZfaJ%&HG_j;8EdI@5W^5{n5-tQt}*5>J*iU1}1Z)KaXz?rzY*LT}gOnwB!t zpA^YVx~%Dyw_Jhq`8LR^8||D%8|A<$VibvH1$ zD@ua=f*BZ@m|0la*f}`4d3gEw1q6kJMZ~0JGcxlFipwi&>YG~II{Nx2PMWu1(c%^BH*DInb=RJK2M!)R zapwHRt2b}md+_MVvllO4zkUDl^Vjb`fB$8a`l80bz;x5o#W6%ea_K?tXpv9`wg>rX zH@SC-yRk5r=AP6k)R}ln*qpBHu8J*0*}l{a)1{GJJlzV0|B6Ld>oA?}%~sH@8#2hA@NRPHa^($ir+C2isxouvm_)0!?N zFNs`QA~@^5X0NiZ-jWTRXQjEmPh97xSh7H3X^Gs+Q&ZFytO$Hzx#7YB1OB7_BG(d= zCm!MwsSn)2B^}CjJ0K@;Mq95^D?`_H5w8sogPImOFJ#c3663+xDzhd)s`1Jq11@Pk zRq;#OT%tEl1QaRQE)8hy9(yH2~r zb7}4}6V9uAt-4Egdjs7PwZx>=L|rr2;c?)t!U;)}FNI$))zDSAsp{pfS2BI&47W*M z4lDaOmixXu;Jn9aa+h$&ti_9-D*7c(?@E<76vnTSMFk) z{QJrqAH}RchNjg9r}iz*%RbinWX}KgK)arE23j{}tPXQ4ZoTy7>Q_158i}88X7ev* z{dTtfBGd0@hfk#6uaTJhbNb&;iBs+-%uUBUdD~L4ibPTl$*?ZuCR_-c;9bU7!coyDS){;2o_MaSaXU*+DPO|bW p-*Udc?#PBs^4RHVf literal 0 HcmV?d00001 diff --git a/src/Android/Resources/drawable/close.png b/src/Android/Resources/drawable/close.png deleted file mode 100644 index 1ee81832ff020790c48900500ec921ff22c8d3c0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 312 zcmeAS@N?(olHy`uVBq!ia0vp^LLkh+3?vf;>QaGJY=BRQE0F$AGZ3it`zg=@xso8i zU;1>yD^Av*0;N&O5 zuFA~~dCj_RQr}#Wmyc@$mJ}N9zN(+!_q~Ka+cxp$Z1qh3-RsT$-}7!bI_=sAX13d0 V3yca5iU93p@O1TaS?83{1ON;LsoMYm diff --git a/src/Android/Resources/drawable/search.png b/src/Android/Resources/drawable/search.png new file mode 100644 index 0000000000000000000000000000000000000000..18580ded97ff0c7f46a6bb8434b5fbda93802969 GIT binary patch literal 449 zcmeAS@N?(olHy`uVBq!ia0vp^LLkh+3?vf;>QaH!q5z)|S0Md=a03>-vL>J_O-q9O zf*F{YS=rb{M8zefWaSi;lvUNuEiA39^9xGLE35138=9A`T7Tf+;p3;yU%Y(v)}3cB zUVi@i-OpFG4QRkjPZ!4!2}#z2tWHjh3=SI=#mdU-0$I2p-~FGJm+-slpYi^ij0t}t zLV1%9{8$`iS06rq^?`uRoZI4FbH2Hj!x9#k&HpZo>Bg$+h%GE1?n?hLWBqVPU*{Lo zh8(`_TRCT3QGIjmG)GU`R=&2Xn@3W@m<|4|*|+TUD!<07%U5Ns@MHMR|GvI^HE;S= pLxu-StXLRiu39o2IC%7y{XSLk?dKmkp9MOS!PC{xWt~$(69BUA5AFZ} literal 0 HcmV?d00001 diff --git a/src/App/Pages/Vault/VaultAutofillListLoginsPage.cs b/src/App/Pages/Vault/VaultAutofillListLoginsPage.cs index 9c86d5f67..7349746b7 100644 --- a/src/App/Pages/Vault/VaultAutofillListLoginsPage.cs +++ b/src/App/Pages/Vault/VaultAutofillListLoginsPage.cs @@ -19,7 +19,6 @@ namespace Bit.App.Pages { private readonly ILoginService _loginService; private readonly IDeviceInfoService _deviceInfoService; - private readonly IUserDialogs _userDialogs; private readonly IClipboardService _clipboardService; private readonly ISettingsService _settingsService; private CancellationTokenSource _filterResultsCancellationTokenSource; @@ -47,20 +46,21 @@ namespace Bit.App.Pages _loginService = Resolver.Resolve(); _deviceInfoService = Resolver.Resolve(); - _userDialogs = Resolver.Resolve(); _clipboardService = Resolver.Resolve(); _settingsService = Resolver.Resolve(); + UserDialogs = Resolver.Resolve(); GoogleAnalyticsService = Resolver.Resolve(); Init(); } - public ExtendedObservableCollection PresentationLogins { get; private set; } + public ExtendedObservableCollection PresentationLoginsGroup { get; private set; } = new ExtendedObservableCollection(); public StackLayout NoDataStackLayout { get; set; } public ListView ListView { get; set; } public ActivityIndicator LoadingIndicator { get; set; } private IGoogleAnalyticsService GoogleAnalyticsService { get; set; } + private IUserDialogs UserDialogs { get; set; } private string Uri { get; set; } private void Init() @@ -89,12 +89,12 @@ namespace Bit.App.Pages }; ToolbarItems.Add(new AddLoginToolBarItem(this)); - ToolbarItems.Add(new CloseToolBarItem(this)); + ToolbarItems.Add(new SearchToolBarItem(this)); ListView = new ListView(ListViewCachingStrategy.RecycleElement) { IsGroupingEnabled = true, - ItemsSource = PresentationLogins, + ItemsSource = PresentationLoginsGroup, HasUnevenRows = true, GroupHeaderTemplate = new DataTemplate(() => new HeaderViewCell()), ItemTemplate = new DataTemplate(() => new VaultListViewCell( @@ -135,7 +135,7 @@ namespace Bit.App.Pages private void AdjustContent() { - if(PresentationLogins.Count > 0) + if(PresentationLoginsGroup.Count > 0) { Content = ListView; } @@ -178,7 +178,7 @@ namespace Bit.App.Pages { if(autofillGroupings.Any()) { - PresentationLogins.ResetWithRange(autofillGroupings); + PresentationLoginsGroup.ResetWithRange(autofillGroupings); } AdjustContent(); @@ -205,7 +205,7 @@ namespace Bit.App.Pages bool doAutofill = true; if(login.Fuzzy) { - doAutofill = await _userDialogs.ConfirmAsync( + doAutofill = await UserDialogs.ConfirmAsync( string.Format(AppResources.BitwardenAutofillServiceMatchConfirm, _name), okText: AppResources.Yes, cancelText: AppResources.No); } @@ -263,7 +263,7 @@ namespace Bit.App.Pages private void Copy(string copyText, string alertLabel) { _clipboardService.CopyToClipboard(copyText); - _userDialogs.Toast(string.Format(AppResources.ValueHasBeenCopied, alertLabel)); + UserDialogs.Toast(string.Format(AppResources.ValueHasBeenCopied, alertLabel)); } private class AddLoginToolBarItem : ToolbarItem @@ -276,7 +276,7 @@ namespace Bit.App.Pages Text = AppResources.Add; Icon = "plus"; Clicked += ClickedItem; - Priority = 1; + Priority = 2; } private void ClickedItem(object sender, EventArgs e) @@ -285,17 +285,17 @@ namespace Bit.App.Pages } } - private class CloseToolBarItem : ToolbarItem + private class SearchToolBarItem : ToolbarItem { private readonly VaultAutofillListLoginsPage _page; - public CloseToolBarItem(VaultAutofillListLoginsPage page) + public SearchToolBarItem(VaultAutofillListLoginsPage page) { _page = page; - Text = AppResources.Close; - Icon = "close"; + Text = AppResources.Search; + Icon = "search"; Clicked += ClickedItem; - Priority = 2; + Priority = 1; } private void ClickedItem(object sender, EventArgs e) @@ -303,6 +303,8 @@ namespace Bit.App.Pages _page.GoogleAnalyticsService.TrackExtensionEvent("CloseToSearch", _page.Uri.StartsWith("http") ? "Website" : "App"); Application.Current.MainPage = new MainPage(_page.Uri); + _page.UserDialogs.Toast(string.Format(AppResources.BitwardenAutofillServiceSearch, _page._name), + TimeSpan.FromSeconds(5)); } } diff --git a/src/App/Resources/AppResources.Designer.cs b/src/App/Resources/AppResources.Designer.cs index 0bf87df66..99bfbbf35 100644 --- a/src/App/Resources/AppResources.Designer.cs +++ b/src/App/Resources/AppResources.Designer.cs @@ -304,6 +304,15 @@ namespace Bit.App.Resources { } } + /// + /// Looks up a localized string similar to You are searching for an auto-fill login for "{0}".. + /// + public static string BitwardenAutofillServiceSearch { + get { + return ResourceManager.GetString("BitwardenAutofillServiceSearch", resourceCulture); + } + } + /// /// Looks up a localized string similar to 1. On the Android Accessibility Settings screen, touch "bitwarden" under the Services heading.. /// @@ -1573,6 +1582,15 @@ namespace Bit.App.Resources { } } + /// + /// Looks up a localized string similar to Search. + /// + public static string Search { + get { + return ResourceManager.GetString("Search", resourceCulture); + } + } + /// /// Looks up a localized string similar to Search vault. /// diff --git a/src/App/Resources/AppResources.resx b/src/App/Resources/AppResources.resx index 441912a14..b4072d42c 100644 --- a/src/App/Resources/AppResources.resx +++ b/src/App/Resources/AppResources.resx @@ -810,4 +810,10 @@ Possible Matching Logins + + Search + + + You are searching for an auto-fill login for "{0}". + \ No newline at end of file