mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-27 14:40:22 +00:00
Fix long name issues in reaction and recipient bottom sheet.
Fixes #12113
This commit is contained in:
committed by
Alex Hart
parent
32c4fcb065
commit
f038e81ff3
@@ -24,14 +24,17 @@
|
||||
app:layout_constraintStart_toStartOf="@id/reactions_bottom_view_recipient_avatar"
|
||||
app:layout_constraintTop_toTopOf="@id/reactions_bottom_view_recipient_avatar" />
|
||||
|
||||
<TextView
|
||||
<org.thoughtcrime.securesms.components.FromTextView
|
||||
android:id="@+id/reactions_bottom_view_recipient_name"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="8dp"
|
||||
android:ellipsize="end"
|
||||
android:gravity="center_vertical"
|
||||
android:maxLines="2"
|
||||
android:textAppearance="@style/TextAppearance.Signal.Body1.Bold"
|
||||
android:textColor="@color/signal_text_primary"
|
||||
app:layout_constrainedWidth="true"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toStartOf="@id/reactions_bottom_view_recipient_emoji"
|
||||
app:layout_constraintHorizontal_bias="0.0"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<androidx.core.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
@@ -242,4 +242,4 @@
|
||||
</LinearLayout>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</ScrollView>
|
||||
</androidx.core.widget.NestedScrollView>
|
||||
|
||||
Reference in New Issue
Block a user