Limit width when previewing reply
This commit is contained in:
parent
024b51e1c7
commit
3c53965403
3 changed files with 5 additions and 1 deletions
|
@ -39,7 +39,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintWidth_max="120dp"
|
||||
app:layout_constraintWidth_max="@dimen/chat_message_content_preview_max_width"
|
||||
app:entries="@{data.contents}"
|
||||
app:layout="@{@layout/chat_message_reply_content_cell}"
|
||||
app:flexWrap="wrap"
|
||||
|
|
|
@ -59,6 +59,9 @@
|
|||
android:visibility="@{data.isConferenceSchedule ? View.VISIBLE : View.GONE, default=gone}"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:maxWidth="@dimen/chat_message_content_preview_max_width"
|
||||
android:maxLines="3"
|
||||
android:ellipsize="end"
|
||||
android:text="@{data.conferenceSubject, default=`Lorem Ipsum`}"
|
||||
android:textColor="@color/light_primary_text_color"
|
||||
android:drawablePadding="5dp"
|
||||
|
|
|
@ -73,4 +73,5 @@
|
|||
<dimen name="voip_single_call_header_size">50dp</dimen>
|
||||
<dimen name="voip_single_call_header_size_with_record_info">85dp</dimen>
|
||||
<dimen name="voip_conference_header_folded_top_margin">30dp</dimen>
|
||||
<dimen name="chat_message_content_preview_max_width">120dp</dimen>
|
||||
</resources>
|
Loading…
Reference in a new issue