Skip to content

Commit

Permalink
Fix infected file description
Browse files Browse the repository at this point in the history
  • Loading branch information
Claire1817 authored Apr 26, 2022
1 parent 39e22bb commit 00035cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions changelog.d/398.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[Infected file] File description cropped
6 changes: 3 additions & 3 deletions vector/src/main/res/layout/item_timeline_event_file_stub.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@
android:id="@+id/messageFileImageView"
android:layout_width="32dp"
android:layout_height="32dp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">

<include layout="@layout/view_file_icon" />

</FrameLayout>
Expand All @@ -36,14 +37,13 @@
android:layout_marginStart="8dp"
android:layout_marginEnd="8dp"
android:autoLink="none"
android:maxLines="1"
android:ellipsize="end"
android:gravity="center_vertical"
app:layout_constrainedWidth="true"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@id/messageFileImageView"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
tools:text="A filename here" />

</androidx.constraintlayout.widget.ConstraintLayout>
Expand Down

0 comments on commit 00035cf

Please sign in to comment.