mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-27 10:17:45 +00:00
7cc67daf80
Individual loading indicators per conversation item thumbnail.
49 lines
2.0 KiB
XML
49 lines
2.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<merge
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools">
|
|
|
|
<org.thoughtcrime.securesms.components.ThumbnailView
|
|
android:id="@+id/conversation_thumbnail_image"
|
|
android:layout_width="@dimen/media_bubble_default_dimens"
|
|
android:layout_height="@dimen/media_bubble_default_dimens"
|
|
android:adjustViewBounds="true"
|
|
android:clickable="false"
|
|
android:longClickable="false"
|
|
android:scaleType="fitCenter"
|
|
android:contentDescription="@string/conversation_item__mms_image_description"
|
|
android:visibility="gone"
|
|
tools:visibility="visible"
|
|
app:thumbnail_radius="1dp"/>
|
|
|
|
<org.thoughtcrime.securesms.components.AlbumThumbnailView
|
|
android:id="@+id/conversation_thumbnail_album"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:clickable="false"
|
|
android:longClickable="false"
|
|
android:contentDescription="@string/conversation_item__mms_image_description"
|
|
android:visibility="gone"/>
|
|
|
|
<ImageView
|
|
android:id="@+id/conversation_thumbnail_shade"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="48dp"
|
|
android:layout_gravity="bottom"
|
|
android:visibility="gone"
|
|
android:src="@drawable/image_shade" />
|
|
|
|
<org.thoughtcrime.securesms.components.ConversationItemFooter
|
|
android:id="@+id/conversation_thumbnail_footer"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom"
|
|
android:layout_marginStart="@dimen/message_bubble_horizontal_padding"
|
|
android:layout_marginEnd="@dimen/message_bubble_horizontal_padding"
|
|
android:layout_marginBottom="@dimen/message_bubble_bottom_padding"
|
|
app:footer_text_color="@android:color/white"
|
|
app:footer_icon_color="@android:color/white"/>
|
|
|
|
</merge>
|