From 2f3ccb5f9060b859c3814953cb10469e8f16ad42 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Sun, 27 Jan 2019 10:32:27 +0100 Subject: [PATCH] changed order of users and media in muc details --- .../ui/adapter/MediaAdapter.java | 2 +- src/main/res/layout/activity_muc_details.xml | 43 +++++++++---------- src/main/res/layout/media.xml | 3 +- 3 files changed, 24 insertions(+), 24 deletions(-) diff --git a/src/main/java/eu/siacs/conversations/ui/adapter/MediaAdapter.java b/src/main/java/eu/siacs/conversations/ui/adapter/MediaAdapter.java index 56a3f5c16..f12a2e6fe 100644 --- a/src/main/java/eu/siacs/conversations/ui/adapter/MediaAdapter.java +++ b/src/main/java/eu/siacs/conversations/ui/adapter/MediaAdapter.java @@ -137,7 +137,7 @@ public class MediaAdapter extends RecyclerView.Adapter ViewUtil.view(activity, attachment)); + holder.binding.getRoot().setOnClickListener(v -> ViewUtil.view(activity, attachment)); } public void setAttachments(List attachments) { diff --git a/src/main/res/layout/activity_muc_details.xml b/src/main/res/layout/activity_muc_details.xml index 713007870..f879717e4 100644 --- a/src/main/res/layout/activity_muc_details.xml +++ b/src/main/res/layout/activity_muc_details.xml @@ -1,7 +1,6 @@ + xmlns:app="http://schemas.android.com/apk/res-auto">