diff --git a/app/src/main/res/layout/dialog_post_view.xml b/app/src/main/res/layout/dialog_post_view.xml index e8f7f404..88eac6a2 100644 --- a/app/src/main/res/layout/dialog_post_view.xml +++ b/app/src/main/res/layout/dialog_post_view.xml @@ -96,7 +96,7 @@ android:textColor="@android:color/white" android:visibility="gone" app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toBottomOf="@id/profile_pic" + app:layout_constraintTop_toBottomOf="@id/top_barrier" tools:text="1/5" tools:visibility="visible" /> @@ -126,7 +126,7 @@ app:iconSize="16dp" app:iconTint="@color/white" app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintTop_toBottomOf="@id/profile_pic" + app:layout_constraintTop_toBottomOf="@id/top_barrier" app:rippleColor="@color/grey_600" tools:text="Location, Location, Location, Location, " tools:visibility="visible" /> diff --git a/app/src/main/res/layout/layout_post_view_bottom.xml b/app/src/main/res/layout/layout_post_view_bottom.xml index 9f3dbb6c..4d2cb0d9 100644 --- a/app/src/main/res/layout/layout_post_view_bottom.xml +++ b/app/src/main/res/layout/layout_post_view_bottom.xml @@ -73,16 +73,16 @@ android:maxLines="1" android:textAppearance="@style/TextAppearance.MaterialComponents.Body2" android:textColor="?android:attr/textColorSecondary" - app:layout_constraintBottom_toTopOf="@id/buttons_bottom_barrier" + app:layout_constraintBottom_toBottomOf="@id/comment" app:layout_constraintEnd_toStartOf="@id/space_1" app:layout_constraintStart_toEndOf="@id/comment" - app:layout_constraintTop_toBottomOf="@id/buttons_top_barrier" + app:layout_constraintTop_toTopOf="@id/comment" tools:text="9999999999999999999999999999999999999999" /> + app:barrierDirection="top" + app:constraint_referenced_ids="date,views_count" /> + app:constraint_referenced_ids="date,views_count" />