From df48ab7b730959500dd8facc329ae18290f10f0a Mon Sep 17 00:00:00 2001 From: Arnaud Vergnet Date: Sun, 3 Jul 2022 16:44:28 +0200 Subject: [PATCH] [android] rework OSM login UX Signed-off-by: Arnaud Vergnet --- android/AndroidManifest.xml | 2 +- .../layout/fragment_auth_editor_dialog.xml | 61 ------- android/res/layout/fragment_osm_login.xml | 53 ++++--- ...th_editor.xml => fragment_osm_profile.xml} | 90 ++--------- .../maps/editor/AuthDialogFragment.java | 51 ------ .../mapswithme/maps/editor/AuthFragment.java | 54 ------- .../maps/editor/EditorHostFragment.java | 20 +-- .../maps/editor/OsmAuthFragment.java | 150 ------------------ .../maps/editor/OsmAuthFragmentDelegate.java | 75 --------- ...uthActivity.java => OsmLoginActivity.java} | 4 +- .../maps/editor/OsmLoginFragment.java | 122 ++++++++++++++ .../maps/editor/ProfileFragment.java | 53 ++++--- 12 files changed, 207 insertions(+), 528 deletions(-) delete mode 100644 android/res/layout/fragment_auth_editor_dialog.xml rename android/res/layout/{fragment_auth_editor.xml => fragment_osm_profile.xml} (58%) delete mode 100644 android/src/com/mapswithme/maps/editor/AuthDialogFragment.java delete mode 100644 android/src/com/mapswithme/maps/editor/AuthFragment.java delete mode 100644 android/src/com/mapswithme/maps/editor/OsmAuthFragment.java delete mode 100644 android/src/com/mapswithme/maps/editor/OsmAuthFragmentDelegate.java rename android/src/com/mapswithme/maps/editor/{OsmAuthActivity.java => OsmLoginActivity.java} (69%) create mode 100644 android/src/com/mapswithme/maps/editor/OsmLoginFragment.java diff --git a/android/AndroidManifest.xml b/android/AndroidManifest.xml index ce2381cd9a..010980558a 100644 --- a/android/AndroidManifest.xml +++ b/android/AndroidManifest.xml @@ -754,7 +754,7 @@ android:parentActivityName="com.mapswithme.maps.MwmActivity" /> - - - - - - - - -