diff --git a/app/src/main/res/layout/activity_chat_room.xml b/app/src/main/res/layout/activity_chat_room.xml index bfd9a722..6a89f5a5 100644 --- a/app/src/main/res/layout/activity_chat_room.xml +++ b/app/src/main/res/layout/activity_chat_room.xml @@ -13,10 +13,11 @@ android:layout_height="0dp" android:contentDescription="@string/a11y_profile_background" android:scaleType="centerCrop" - app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintDimensionRatio="H,2:3" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toTopOf="parent" /> + app:layout_constraintTop_toTopOf="parent" + app:layout_constraintBottom_toBottomOf="parent" /> + app:layout_constraintTop_toTopOf="@id/iv_background_profile" /> - + diff --git a/app/src/main/res/layout/item_chat_background_image.xml b/app/src/main/res/layout/item_chat_background_image.xml index a3958c96..619d967c 100644 --- a/app/src/main/res/layout/item_chat_background_image.xml +++ b/app/src/main/res/layout/item_chat_background_image.xml @@ -10,7 +10,7 @@ android:layout_height="0dp" android:contentDescription="@null" android:scaleType="centerCrop" - app:layout_constraintDimensionRatio="4:5" + app:layout_constraintDimensionRatio="2:3" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" />