Further fixes for post view layout problem for some posts

This commit is contained in:
Ammar Githam 2021-05-23 11:39:16 +09:00
parent 09306049d5
commit 30257a953f
2 changed files with 8 additions and 7 deletions

View File

@ -96,7 +96,7 @@
android:textColor="@android:color/white" android:textColor="@android:color/white"
android:visibility="gone" android:visibility="gone"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/profile_pic" app:layout_constraintTop_toBottomOf="@id/top_barrier"
tools:text="1/5" tools:text="1/5"
tools:visibility="visible" /> tools:visibility="visible" />
@ -126,7 +126,7 @@
app:iconSize="16dp" app:iconSize="16dp"
app:iconTint="@color/white" app:iconTint="@color/white"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@id/profile_pic" app:layout_constraintTop_toBottomOf="@id/top_barrier"
app:rippleColor="@color/grey_600" app:rippleColor="@color/grey_600"
tools:text="Location, Location, Location, Location, " tools:text="Location, Location, Location, Location, "
tools:visibility="visible" /> tools:visibility="visible" />

View File

@ -73,16 +73,16 @@
android:maxLines="1" android:maxLines="1"
android:textAppearance="@style/TextAppearance.MaterialComponents.Body2" android:textAppearance="@style/TextAppearance.MaterialComponents.Body2"
android:textColor="?android:attr/textColorSecondary" 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_constraintEnd_toStartOf="@id/space_1"
app:layout_constraintStart_toEndOf="@id/comment" app:layout_constraintStart_toEndOf="@id/comment"
app:layout_constraintTop_toBottomOf="@id/buttons_top_barrier" app:layout_constraintTop_toTopOf="@id/comment"
tools:text="9999999999999999999999999999999999999999" /> tools:text="9999999999999999999999999999999999999999" />
<Space <Space
android:id="@+id/space_1" android:id="@+id/space_1"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="0dp" android:layout_height="40dp"
app:layout_constraintBottom_toTopOf="@id/buttons_bottom_barrier" app:layout_constraintBottom_toTopOf="@id/buttons_bottom_barrier"
app:layout_constraintEnd_toStartOf="@id/share" app:layout_constraintEnd_toStartOf="@id/share"
app:layout_constraintStart_toEndOf="@id/comments_count" app:layout_constraintStart_toEndOf="@id/comments_count"
@ -142,7 +142,8 @@
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="0dp" android:layout_height="0dp"
app:barrierAllowsGoneWidgets="true" app:barrierAllowsGoneWidgets="true"
app:barrierDirection="top" /> app:barrierDirection="top"
app:constraint_referenced_ids="date,views_count" />
<androidx.appcompat.widget.AppCompatTextView <androidx.appcompat.widget.AppCompatTextView
android:id="@+id/date" android:id="@+id/date"
@ -175,7 +176,7 @@
android:layout_height="0dp" android:layout_height="0dp"
app:barrierAllowsGoneWidgets="true" app:barrierAllowsGoneWidgets="true"
app:barrierDirection="bottom" app:barrierDirection="bottom"
app:constraint_referenced_ids="like,likes_count,comment,comments_count,space_1,share,save,download" /> app:constraint_referenced_ids="date,views_count" />
<awais.instagrabber.customviews.RamboTextViewV2 <awais.instagrabber.customviews.RamboTextViewV2
android:id="@+id/caption" android:id="@+id/caption"