diff --git a/app/src/main/java/gr/thmmy/mthmmy/activities/inbox/InboxAdapter.java b/app/src/main/java/gr/thmmy/mthmmy/activities/inbox/InboxAdapter.java index b36ac448..504d78c7 100644 --- a/app/src/main/java/gr/thmmy/mthmmy/activities/inbox/InboxAdapter.java +++ b/app/src/main/java/gr/thmmy/mthmmy/activities/inbox/InboxAdapter.java @@ -224,6 +224,7 @@ public class InboxAdapter extends RecyclerView.Adapter popUp.setFocusable(true); TextView quoteButton = popupContent.findViewById(R.id.pm_quote_button); + quoteButton.setVisibility(View.GONE); // TODO Drawable quoteDrawable = AppCompatResources.getDrawable(context, R.drawable.ic_format_quote); quoteButton.setCompoundDrawablesRelativeWithIntrinsicBounds(quoteDrawable, null, null, null); quoteButton.setOnClickListener(v -> { @@ -245,6 +246,7 @@ public class InboxAdapter extends RecyclerView.Adapter TextView deletePostButton = popupContent.findViewById(R.id.delete_post); Drawable deleteStartDrawable = AppCompatResources.getDrawable(context, R.drawable.ic_delete_white_24dp); + deletePostButton.setVisibility(View.GONE); //TODO deletePostButton.setCompoundDrawablesRelativeWithIntrinsicBounds(deleteStartDrawable, null, null, null); popupContent.findViewById(R.id.delete_post).setOnClickListener(v -> { new AlertDialog.Builder(holder.overflowButton.getContext()) diff --git a/app/src/main/res/layout/activity_inbox.xml b/app/src/main/res/layout/activity_inbox.xml index 860b18a2..69304bd3 100644 --- a/app/src/main/res/layout/activity_inbox.xml +++ b/app/src/main/res/layout/activity_inbox.xml @@ -57,6 +57,7 @@ app:elevation="8dp" app:layout_behavior="gr.thmmy.mthmmy.utils.ScrollAwareLinearBehavior"/> + \ No newline at end of file