Skip to content

Commit

Permalink
Add constraints
Browse files Browse the repository at this point in the history
  • Loading branch information
Xrondev committed Apr 18, 2024
1 parent a6c42cf commit 5be8cda
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions app/src/main/res/layout/item_message_image.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@
android:id="@+id/imageMessage"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:scaleType="centerCrop"
android:padding="8dp"
android:background="@drawable/message_background"
app:layout_constraintTop_toTopOf="parent"
android:padding="8dp"
android:scaleType="centerCrop"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintWidth_default="wrap" />

</androidx.constraintlayout.widget.ConstraintLayout>

0 comments on commit 5be8cda

Please sign in to comment.