changes to disable reply controls and display a relevant message to the user on compose screen if all other participant numbers are non-replyable (ie alphanumeric sender id)

This commit is contained in:
gavine99
2025-01-16 18:02:26 +11:00
parent 5c9ad9851e
commit 4d37dbf606
5 changed files with 58 additions and 1 deletions
@@ -353,12 +353,14 @@
</androidx.appcompat.widget.Toolbar>
<View
android:id="@+id/titleBarShadow"
android:layout_width="match_parent"
android:layout_height="8dp"
android:background="@drawable/ab_shadow"
app:layout_constraintTop_toBottomOf="@id/toolbar" />
<View
android:id="@+id/divider"
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="?android:attr/divider"
@@ -533,4 +535,18 @@
tools:backgroundTint="@color/tools_theme"
tools:tint="@color/textPrimaryDark" />
<TextView
android:id="@+id/noValidRecipients"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="12dp"
android:gravity="center"
android:paddingTop="12dp"
android:paddingBottom="12dp"
android:text="@string/compose_no_valid_recipients"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
@@ -119,6 +119,7 @@
<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_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>
<string name="compose_menu_forward">Forward</string>
<string name="compose_menu_delete">Delete</string>