mirror of
https://github.com/oxen-io/session-android.git
synced 2025-06-09 19:28:35 +00:00
Remove border from images in the attachment keyboard.
This commit is contained in:
parent
f1ea035197
commit
485d211768
@ -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…
x
Reference in New Issue
Block a user