Fix issue with margin change

This commit is contained in:
Benoit Marty 2021-05-10 22:34:05 +02:00 committed by Benoit Marty
parent 0cd1d57fc0
commit cf00cc2fda
1 changed files with 3 additions and 1 deletions

View File

@ -175,17 +175,19 @@
app:layout_constraintTop_toBottomOf="@id/matrixToCardDescText" app:layout_constraintTop_toBottomOf="@id/matrixToCardDescText"
tools:src="@sample/user_round_avatars" /> tools:src="@sample/user_round_avatars" />
<!-- layout_goneMarginStart: add half the width of the avatar: 15dp -->
<TextView <TextView
android:id="@+id/peopleYouMayKnowText" android:id="@+id/peopleYouMayKnowText"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="20dp" android:layout_marginStart="10dp"
android:textColor="?riotx_text_secondary" android:textColor="?riotx_text_secondary"
android:textSize="15sp" android:textSize="15sp"
app:layout_constraintBottom_toBottomOf="@id/knownMember1" app:layout_constraintBottom_toBottomOf="@id/knownMember1"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@id/knownMember5" app:layout_constraintStart_toEndOf="@id/knownMember5"
app:layout_constraintTop_toTopOf="@id/knownMember1" app:layout_constraintTop_toTopOf="@id/knownMember1"
app:layout_goneMarginStart="25dp"
tools:text="7 people you may know" /> tools:text="7 people you may know" />
<im.vector.app.core.platform.ButtonStateView <im.vector.app.core.platform.ButtonStateView