Skip to content

Commit 95f48c1

Browse files
committed
fix layout of comment replies header to work when avatar image is gone (disabled in content -> image settings)
1 parent 3815f5f commit 95f48c1

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

app/src/main/res/layout/comment_replies_header.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
android:layout_marginEnd="@dimen/video_item_detail_like_margin"
5858
android:contentDescription="@string/detail_likes_img_view_description"
5959
android:src="@drawable/ic_thumb_up"
60-
app:layout_constraintBottom_toBottomOf="@+id/authorAvatar"
60+
app:layout_constraintBottom_toBottomOf="@+id/uploadDate"
6161
app:layout_constraintEnd_toStartOf="@+id/thumbsUpCount"
6262
app:layout_constraintTop_toTopOf="@+id/authorAvatar" />
6363

@@ -70,7 +70,7 @@
7070
android:lines="1"
7171
android:textAppearance="?android:attr/textAppearanceMedium"
7272
android:textSize="14sp"
73-
app:layout_constraintBottom_toBottomOf="@+id/authorAvatar"
73+
app:layout_constraintBottom_toBottomOf="@+id/uploadDate"
7474
app:layout_constraintEnd_toStartOf="@+id/heartImage"
7575
app:layout_constraintTop_toTopOf="@+id/authorAvatar"
7676
tools:text="12M" />
@@ -82,7 +82,7 @@
8282
android:layout_marginEnd="4dp"
8383
android:contentDescription="@string/detail_heart_img_view_description"
8484
android:src="@drawable/ic_heart"
85-
app:layout_constraintBottom_toBottomOf="@+id/authorAvatar"
85+
app:layout_constraintBottom_toBottomOf="@+id/uploadDate"
8686
app:layout_constraintEnd_toStartOf="@+id/pinnedImage"
8787
app:layout_constraintTop_toTopOf="@+id/authorAvatar"
8888
app:layout_goneMarginEnd="16dp" />
@@ -105,7 +105,7 @@
105105
android:layout_marginEnd="16dp"
106106
android:contentDescription="@string/detail_pinned_comment_view_description"
107107
android:src="@drawable/ic_pin"
108-
app:layout_constraintBottom_toBottomOf="@+id/authorAvatar"
108+
app:layout_constraintBottom_toBottomOf="@+id/uploadDate"
109109
app:layout_constraintEnd_toEndOf="parent"
110110
app:layout_constraintTop_toTopOf="@+id/authorAvatar" />
111111

@@ -120,7 +120,7 @@
120120
android:textSize="14sp"
121121
app:layout_constraintEnd_toEndOf="parent"
122122
app:layout_constraintStart_toStartOf="parent"
123-
app:layout_constraintTop_toBottomOf="@+id/authorAvatar"
123+
app:layout_constraintTop_toBottomOf="@+id/uploadDate"
124124
tools:text="@tools:sample/lorem/random[10]" />
125125

126126
<View

0 commit comments

Comments
 (0)