Remove border from images in the attachment keyboard.
This commit is contained in:
parent
f1ea035197
commit
485d211768
2 changed files with 6 additions and 6 deletions
|
@ -10,6 +10,7 @@ import androidx.recyclerview.widget.RecyclerView;
|
||||||
|
|
||||||
import org.thoughtcrime.securesms.R;
|
import org.thoughtcrime.securesms.R;
|
||||||
import org.thoughtcrime.securesms.components.OutlinedThumbnailView;
|
import org.thoughtcrime.securesms.components.OutlinedThumbnailView;
|
||||||
|
import org.thoughtcrime.securesms.components.ThumbnailView;
|
||||||
import org.thoughtcrime.securesms.mediasend.Media;
|
import org.thoughtcrime.securesms.mediasend.Media;
|
||||||
import org.thoughtcrime.securesms.mms.GlideRequests;
|
import org.thoughtcrime.securesms.mms.GlideRequests;
|
||||||
import org.thoughtcrime.securesms.util.MediaUtil;
|
import org.thoughtcrime.securesms.util.MediaUtil;
|
||||||
|
@ -72,9 +73,9 @@ class AttachmentKeyboardMediaAdapter extends RecyclerView.Adapter<AttachmentKeyb
|
||||||
|
|
||||||
static class MediaViewHolder extends RecyclerView.ViewHolder {
|
static class MediaViewHolder extends RecyclerView.ViewHolder {
|
||||||
|
|
||||||
private final OutlinedThumbnailView image;
|
private final ThumbnailView image;
|
||||||
private final TextView duration;
|
private final TextView duration;
|
||||||
private final View videoIcon;
|
private final View videoIcon;
|
||||||
|
|
||||||
public MediaViewHolder(@NonNull View itemView) {
|
public MediaViewHolder(@NonNull View itemView) {
|
||||||
super(itemView);
|
super(itemView);
|
||||||
|
|
|
@ -8,11 +8,10 @@
|
||||||
android:layout_marginEnd="8dp"
|
android:layout_marginEnd="8dp"
|
||||||
app:square_height="true">
|
app:square_height="true">
|
||||||
|
|
||||||
<org.thoughtcrime.securesms.components.OutlinedThumbnailView
|
<org.thoughtcrime.securesms.components.ThumbnailView
|
||||||
android:id="@+id/attachment_keyboard_item_image"
|
android:id="@+id/attachment_keyboard_item_image"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent" />
|
||||||
app:otv_cornerRadius="4dp"/>
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/attachment_keyboard_item_video_time"
|
android:id="@+id/attachment_keyboard_item_video_time"
|
||||||
|
|
Loading…
Add table
Reference in a new issue