Remove border from images in the attachment keyboard.

fork-5.53.8
Greyson Parrelli 2020-04-02 10:55:52 -04:00
rodzic f1ea035197
commit 485d211768
2 zmienionych plików z 6 dodań i 6 usunięć

Wyświetl plik

@ -10,6 +10,7 @@ import androidx.recyclerview.widget.RecyclerView;
import org.thoughtcrime.securesms.R;
import org.thoughtcrime.securesms.components.OutlinedThumbnailView;
import org.thoughtcrime.securesms.components.ThumbnailView;
import org.thoughtcrime.securesms.mediasend.Media;
import org.thoughtcrime.securesms.mms.GlideRequests;
import org.thoughtcrime.securesms.util.MediaUtil;
@ -72,9 +73,9 @@ class AttachmentKeyboardMediaAdapter extends RecyclerView.Adapter<AttachmentKeyb
static class MediaViewHolder extends RecyclerView.ViewHolder {
private final OutlinedThumbnailView image;
private final TextView duration;
private final View videoIcon;
private final ThumbnailView image;
private final TextView duration;
private final View videoIcon;
public MediaViewHolder(@NonNull View itemView) {
super(itemView);

Wyświetl plik

@ -8,11 +8,10 @@
android:layout_marginEnd="8dp"
app:square_height="true">
<org.thoughtcrime.securesms.components.OutlinedThumbnailView
<org.thoughtcrime.securesms.components.ThumbnailView
android:id="@+id/attachment_keyboard_item_image"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:otv_cornerRadius="4dp"/>
android:layout_height="match_parent" />
<TextView
android:id="@+id/attachment_keyboard_item_video_time"