diff --git a/app/src/main/java/it/danieleverducci/nextcloudmaps/activity/main/GeofavoriteAdapter.java b/app/src/main/java/it/danieleverducci/nextcloudmaps/activity/main/GeofavoriteAdapter.java index bda26ac..1d7be0d 100644 --- a/app/src/main/java/it/danieleverducci/nextcloudmaps/activity/main/GeofavoriteAdapter.java +++ b/app/src/main/java/it/danieleverducci/nextcloudmaps/activity/main/GeofavoriteAdapter.java @@ -23,7 +23,9 @@ package it.danieleverducci.nextcloudmaps.activity.main; import android.content.Context; import android.content.Intent; import android.text.Html; +import android.view.ContextMenu; import android.view.LayoutInflater; +import android.view.MenuInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Filter; @@ -141,7 +143,7 @@ public class GeofavoriteAdapter extends RecyclerView.Adapter presenter.getGeofavorites()); diff --git a/app/src/main/res/menu/list_context_menu.xml b/app/src/main/res/menu/list_context_menu.xml new file mode 100644 index 0000000..add86b2 --- /dev/null +++ b/app/src/main/res/menu/list_context_menu.xml @@ -0,0 +1,12 @@ + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 275068f..b27a7a0 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -31,6 +31,8 @@ Search by name Share via Check out this place: {lat}°N, {lng}°E + Details + Delete Sort by