Commit 85a61839 authored by Sylvain Berfini's avatar Sylvain Berfini :cow:
Browse files

Fixed display issue with files in chat bubbles on small screens

Showing 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>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment