Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
BC
public
linphone-android
Commits
85a61839
Commit
85a61839
authored
6 months ago
by
Sylvain Berfini
Browse files
Options
Download
Patches
Plain Diff
Fixed display issue with files in chat bubbles on small screens
parent
30ab0fa8
master
feature/show_unsecure_conversation_event_at_top
feature/use_theme_main_color_for_icon_and_splashscreen
fix/insistent_notification
fix/telecom_call_stuck
fix/telecom_default_audio_endpoint
release/6.0
6.1.0-alpha
6.0.0
6.0.0-beta
1 merge request
!1513
Fixed display issue with files in chat bubbles on small screens
Pipeline
#82925
passed with stage
in 12 minutes and 40 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
app/src/main/res/layout/chat_bubble_content_grid_cell.xml
+3
-4
app/src/main/res/layout/chat_bubble_content_grid_cell.xml
app/src/main/res/values/dimen.xml
+1
-1
app/src/main/res/values/dimen.xml
with
4 additions
and
5 deletions
app/src/main/res/layout/chat_bubble_content_grid_cell.xml
+
3
−
4
View file @
85a61839
...
...
@@ -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"
...
...
This diff is collapsed.
Click to expand it.
app/src/main/res/values/dimen.xml
+
1
−
1
View file @
85a61839
...
...
@@ -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"
>
15
1
dp
</dimen>
<!-- 271 - 8
8
- 32 -->
<dimen
name=
"chat_bubble_grid_file_width"
>
15
0
dp
</dimen>
<!-- 271 - 8
7
- 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>
...
...
This diff is collapsed.
Click to expand it.
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets