Browse Source

Further fixes for post view layout problem for some posts

renovate/org.robolectric-robolectric-4.x
Ammar Githam 4 years ago
parent
commit
30257a953f
  1. 4
      app/src/main/res/layout/dialog_post_view.xml
  2. 11
      app/src/main/res/layout/layout_post_view_bottom.xml

4
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" />

11
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" />
<Space
android:id="@+id/space_1"
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_height="40dp"
app:layout_constraintBottom_toTopOf="@id/buttons_bottom_barrier"
app:layout_constraintEnd_toStartOf="@id/share"
app:layout_constraintStart_toEndOf="@id/comments_count"
@ -142,7 +142,8 @@
android:layout_width="0dp"
android:layout_height="0dp"
app:barrierAllowsGoneWidgets="true"
app:barrierDirection="top" />
app:barrierDirection="top"
app:constraint_referenced_ids="date,views_count" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/date"
@ -175,7 +176,7 @@
android:layout_height="0dp"
app:barrierAllowsGoneWidgets="true"
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
android:id="@+id/caption"

Loading…
Cancel
Save