mirror of
https://github.com/oxen-io/session-android.git
synced 2023-12-14 02:53:01 +01:00
Updated a number of nested layout components to be included instead of inflated Added a couple of optimisations to the EmojiTextView Fixed an issue where long conversation titles could squish the unread count Fixed an issue where the typing indicator wasn't working on the home screen
67 lines
2.4 KiB
XML
67 lines
2.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<org.thoughtcrime.securesms.conversation.v2.utilities.ThumbnailView
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@color/transparent_black_6">
|
|
|
|
<ImageView
|
|
android:id="@+id/thumbnail_image"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:adjustViewBounds="true"
|
|
android:clickable="false"
|
|
android:longClickable="false"
|
|
android:scaleType="fitCenter"
|
|
android:contentDescription="@string/conversation_item__mms_image_description" />
|
|
|
|
<org.thoughtcrime.securesms.conversation.v2.utilities.ThumbnailProgressBar
|
|
android:id="@+id/thumbnail_load_indicator"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/accent_line_thickness"
|
|
android:layout_gravity="bottom"
|
|
android:visibility="gone"
|
|
tools:visibility="visible" />
|
|
|
|
<ImageView
|
|
tools:visibility="visible"
|
|
android:src="@drawable/ic_download_circle_filled_48"
|
|
android:id="@+id/thumbnail_download_icon"
|
|
android:layout_width="@dimen/medium_button_height"
|
|
android:layout_height="@dimen/medium_button_height"
|
|
android:layout_gravity="center"
|
|
android:visibility="gone"
|
|
/>
|
|
|
|
<FrameLayout
|
|
android:id="@+id/play_overlay"
|
|
android:layout_width="48dp"
|
|
android:layout_height="48dp"
|
|
android:background="@drawable/circle_white"
|
|
android:layout_gravity="center"
|
|
android:longClickable="false"
|
|
android:visibility="gone">
|
|
|
|
<ImageView
|
|
android:layout_width="19dp"
|
|
android:layout_height="24dp"
|
|
android:layout_marginStart="17dp"
|
|
android:layout_marginTop="12dp"
|
|
app:tint="@color/core_blue"
|
|
android:scaleType="fitXY"
|
|
app:srcCompat="@drawable/triangle_right" />
|
|
|
|
</FrameLayout>
|
|
|
|
<ViewStub
|
|
android:id="@+id/transfer_controls_stub"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout="@layout/transfer_controls_stub"
|
|
android:visibility="gone" />
|
|
|
|
</org.thoughtcrime.securesms.conversation.v2.utilities.ThumbnailView>
|