mirror of
https://github.com/oxen-io/session-android.git
synced 2025-12-08 00:22:17 +00:00
Show timer in status
This commit is contained in:
@@ -115,10 +115,18 @@
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/senderNameTextView">
|
||||
|
||||
<include layout="@layout/view_visible_message_content"
|
||||
android:id="@+id/messageContentView"
|
||||
<LinearLayout
|
||||
android:id="@+id/messageInnerLayout"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content" />
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<include layout="@layout/view_visible_message_content"
|
||||
android:id="@+id/messageContentView"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
</LinearLayout>
|
||||
</FrameLayout>
|
||||
|
||||
<include layout="@layout/view_emoji_reactions"
|
||||
@@ -130,28 +138,32 @@
|
||||
app:layout_constraintStart_toStartOf="@+id/messageInnerContainer"
|
||||
app:layout_constraintTop_toBottomOf="@id/messageInnerContainer" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/messageStatusTextView"
|
||||
<LinearLayout
|
||||
android:id="@+id/statusContainer"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
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" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/messageStatusImageView"
|
||||
android:layout_width="12dp"
|
||||
android:layout_height="12dp"
|
||||
android:layout_marginTop="5dp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
android:baselineAligned="true"
|
||||
app:layout_constraintTop_toBottomOf="@+id/emojiReactionsView"
|
||||
tools:tint="@color/classic_dark_1"
|
||||
android:src="@drawable/ic_delivery_status_sent" />
|
||||
app:layout_constraintStart_toStartOf="@id/messageInnerContainer"
|
||||
app:layout_constraintHorizontal_bias="1"
|
||||
app:layout_constraintEnd_toEndOf="parent">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/messageStatusTextView"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:textSize="@dimen/very_small_font_size"
|
||||
tools:text="Sent" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/messageStatusImageView"
|
||||
android:layout_width="12dp"
|
||||
android:layout_height="12dp"
|
||||
android:layout_gravity="center"
|
||||
android:src="@drawable/ic_delivery_status_sent" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user