|
|
|
@ -21,16 +21,11 @@
|
|
|
|
|
android:id="@+id/mainContainer"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="@dimen/small_spacing"
|
|
|
|
|
android:layout_marginEnd="@dimen/small_spacing"
|
|
|
|
|
android:gravity="bottom"
|
|
|
|
|
android:paddingBottom="@dimen/small_spacing">
|
|
|
|
|
|
|
|
|
|
<View
|
|
|
|
|
android:id="@+id/startSpacing"
|
|
|
|
|
android:layout_width="8dp"
|
|
|
|
|
android:layout_height="1dp"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent" />
|
|
|
|
|
|
|
|
|
|
<include
|
|
|
|
|
android:id="@+id/profilePictureView"
|
|
|
|
|
layout="@layout/view_profile_picture"
|
|
|
|
@ -41,7 +36,7 @@
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/messageInnerContainer"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="@id/messageInnerContainer"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/startSpacing"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
@ -77,8 +72,8 @@
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/profilePictureView"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/messageTimestampContainer"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/profilePictureView"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/senderNameTextView">
|
|
|
|
|
|
|
|
|
|
<org.thoughtcrime.securesms.conversation.v2.messages.VisibleMessageContentView
|
|
|
|
@ -109,27 +104,32 @@
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:visibility="gone"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/messageTimestampContainer"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="@+id/messageInnerContainer"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/messageInnerContainer" />
|
|
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:id="@+id/messageTimestampContainer"
|
|
|
|
|
android:layout_width="@dimen/medium_spacing"
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/messageStatusTextView"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/messageInnerContainer">
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/messageStatusImageView"
|
|
|
|
|
android:layout_width="16dp"
|
|
|
|
|
android:layout_height="16dp"
|
|
|
|
|
android:layout_alignParentEnd="true"
|
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
|
android:padding="2dp"
|
|
|
|
|
android:src="@drawable/ic_delivery_status_sent" />
|
|
|
|
|
android:layout_marginEnd="2dp"
|
|
|
|
|
android:layout_marginBottom="1dp"
|
|
|
|
|
app:layout_constraintTop_toTopOf="@id/messageStatusImageView"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="@id/messageStatusImageView"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/messageStatusImageView"
|
|
|
|
|
android:textSize="@dimen/very_small_font_size"
|
|
|
|
|
android:textColor="@color/classic_dark_1"
|
|
|
|
|
tools:text="Sent" />
|
|
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/messageStatusImageView"
|
|
|
|
|
android:layout_width="12dp"
|
|
|
|
|
android:layout_height="12dp"
|
|
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/emojiReactionsView"
|
|
|
|
|
tools:tint="@color/classic_dark_1"
|
|
|
|
|
android:src="@drawable/ic_delivery_status_sent" />
|
|
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
|
|
|
|
|