diff --git a/res/layout/thumbnail_view.xml b/res/layout/thumbnail_view.xml index 91a4b9c5c8..a9f979014c 100644 --- a/res/layout/thumbnail_view.xml +++ b/res/layout/thumbnail_view.xml @@ -48,6 +48,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center" - android:layout="@layout/transfer_controls_stub" /> + android:layout="@layout/transfer_controls_stub" + android:visibility="gone" /> diff --git a/src/org/thoughtcrime/securesms/components/TransferControlView.java b/src/org/thoughtcrime/securesms/components/TransferControlView.java index 809de1197f..e3e0cbdc5d 100644 --- a/src/org/thoughtcrime/securesms/components/TransferControlView.java +++ b/src/org/thoughtcrime/securesms/components/TransferControlView.java @@ -16,7 +16,6 @@ import com.pnikosis.materialishprogress.ProgressWheel; import org.greenrobot.eventbus.EventBus; import org.greenrobot.eventbus.Subscribe; import org.greenrobot.eventbus.ThreadMode; -import network.loki.messenger.R; import org.thoughtcrime.securesms.attachments.Attachment; import org.thoughtcrime.securesms.database.AttachmentDatabase; import org.thoughtcrime.securesms.events.PartProgressEvent; @@ -28,6 +27,8 @@ import java.util.HashMap; import java.util.List; import java.util.Map; +import network.loki.messenger.R; + public class TransferControlView extends FrameLayout { @Nullable private List slides; @@ -199,7 +200,7 @@ public class TransferControlView extends FrameLayout { if (view != null) { view.setVisibility(VISIBLE); - setVisibility(VISIBLE); + // setVisibility(VISIBLE); } else { setVisibility(GONE); }