Indicate in UI when scheduled messages are present

Added a new property to scheduled messages to save which conversation the scheduled message belongs to.
This commit is contained in:
Inhishonor
2025-07-08 18:22:07 -07:00
parent 56a767bbd7
commit 3d7526512d
19 changed files with 146 additions and 18 deletions
@@ -69,7 +69,7 @@
android:ellipsize="end"
android:maxLines="1"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@id/pinned"
app:layout_constraintEnd_toStartOf="@id/scheduled"
app:layout_constraintStart_toStartOf="@id/title"
app:layout_constraintTop_toBottomOf="@id/title"
tools:text="@tools:sample/lorem/random" />
@@ -80,9 +80,23 @@
android:layout_height="16dp"
android:layout_marginTop="2dp"
android:paddingStart="4dp"
android:paddingTop="2dp"
android:src="@drawable/ic_baseline_push_pin_24"
android:tint="?android:attr/textColorTertiary"
android:visibility="gone"
app:layout_constraintEnd_toStartOf="@id/scheduled"
app:layout_constraintTop_toTopOf="@id/snippet"
tools:visibility="visible" />
<ImageView
android:id="@+id/scheduled"
android:layout_width="20dp"
android:layout_height="16dp"
android:layout_marginTop="2dp"
android:paddingStart="4dp"
android:src="@drawable/ic_event_black_24dp"
android:tint="?android:attr/textColorTertiary"
android:visibility="gone"
app:layout_constraintEnd_toStartOf="@id/unread"
app:layout_constraintTop_toTopOf="@id/snippet"
tools:visibility="visible" />
@@ -34,6 +34,13 @@
android:visible="false"
app:showAsAction="always" />
<item
android:id="@+id/viewScheduledMessages"
android:icon="@drawable/ic_event_black_24dp"
android:title="@string/compose_scheduled_view"
android:visible="false"
app:showAsAction="always" />
<item
android:id="@+id/select_all"
android:icon="?attr/actionModeSelectAllDrawable"
@@ -139,6 +139,7 @@
<string name="compose_scheduled_future">Selected time must be in the future!</string>
<string name="compose_scheduled_plus">You must unlock QUIK+ to use scheduled messaging</string>
<string name="compose_scheduled_toast">Added to scheduled messages</string>
<string name="compose_scheduled_view">Scheduled messages for this conversation</string>
<string name="compose_hint">Write a message…</string>
<string name="compose_no_valid_recipients">Can\'t send to other participants</string>
<string name="compose_menu_copy">Copy text</string>