mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 19:38:08 +00:00
Fixed display issue with files in chat bubbles on small screens
This commit is contained in:
parent
30ab0fa827
commit
85a61839bc
2 changed files with 4 additions and 5 deletions
|
|
@ -117,20 +117,19 @@
|
|||
android:id="@+id/file_background"
|
||||
android:onClick="@{() -> model.onClick()}"
|
||||
android:onLongClick="@{onLongClickListener}"
|
||||
android:layout_width="0dp"
|
||||
android:layout_width="@dimen/chat_bubble_grid_file_width"
|
||||
android:layout_height="0dp"
|
||||
android:background="@drawable/shape_squircle_white_right"
|
||||
app:layout_constraintTop_toTopOf="@id/file_icon"
|
||||
app:layout_constraintBottom_toBottomOf="@id/file_icon"
|
||||
app:layout_constraintStart_toEndOf="@id/file_icon"
|
||||
app:layout_constraintEnd_toEndOf="parent"/>
|
||||
app:layout_constraintStart_toEndOf="@id/file_icon"/>
|
||||
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
style="@style/default_text_style_700"
|
||||
android:id="@+id/file_name"
|
||||
android:onClick="@{() -> model.onClick()}"
|
||||
android:onLongClick="@{onLongClickListener}"
|
||||
android:layout_width="@dimen/chat_bubble_grid_file_name_max_width"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
|
|
|
|||
|
|
@ -81,7 +81,7 @@
|
|||
<dimen name="chat_bubble_long_press_emoji_reaction_size">30sp</dimen>
|
||||
<dimen name="chat_bubble_grid_image_size">87dp</dimen>
|
||||
<dimen name="chat_bubble_big_image_max_size">150dp</dimen>
|
||||
<dimen name="chat_bubble_grid_file_name_max_width">151dp</dimen> <!-- 271 - 88 - 32 -->
|
||||
<dimen name="chat_bubble_grid_file_width">150dp</dimen> <!-- 271 - 87 - 32 -->
|
||||
<dimen name="chat_bubble_meeting_invite_width">271dp</dimen>
|
||||
<dimen name="chat_bubble_voice_record_width">271dp</dimen>
|
||||
<dimen name="chat_bubble_max_reply_width">271dp</dimen>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue