Fix layout overlap issue (#1407)

This commit is contained in:
Benoit Marty 2020-07-01 14:03:30 +02:00
parent 9eab1acf1e
commit 53053d8f4a
2 changed files with 3 additions and 3 deletions

View file

@ -21,6 +21,7 @@ Bugfix 🐛:
- Use vendor prefix for non merged MSC (#1537) - Use vendor prefix for non merged MSC (#1537)
- Compress images before sending (#1333) - Compress images before sending (#1333)
- Searching by displayname is case sensitive (#1468) - Searching by displayname is case sensitive (#1468)
- Fix layout overlap issue (#1407)
Translations 🗣: Translations 🗣:
- -

View file

@ -30,13 +30,13 @@
<TextView <TextView
android:id="@+id/formSwitchSummary" android:id="@+id/formSwitchSummary"
android:layout_width="wrap_content" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginEnd="8dp" android:layout_marginEnd="8dp"
android:layout_marginRight="8dp"
android:textColor="?riotx_text_secondary" android:textColor="?riotx_text_secondary"
android:textSize="14sp" android:textSize="14sp"
app:layout_constraintBottom_toTopOf="@+id/formSwitchDivider" app:layout_constraintBottom_toTopOf="@+id/formSwitchDivider"
app:layout_constraintEnd_toStartOf="@+id/formSwitchSwitch"
app:layout_constraintStart_toStartOf="@+id/formSwitchTitle" app:layout_constraintStart_toStartOf="@+id/formSwitchTitle"
app:layout_constraintTop_toBottomOf="@+id/formSwitchTitle" app:layout_constraintTop_toBottomOf="@+id/formSwitchTitle"
tools:text="@string/create_room_public_description" /> tools:text="@string/create_room_public_description" />
@ -46,7 +46,6 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginEnd="19dp" android:layout_marginEnd="19dp"
android:layout_marginRight="19dp"
app:layout_constraintBottom_toTopOf="@+id/formSwitchDivider" app:layout_constraintBottom_toTopOf="@+id/formSwitchDivider"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" /> app:layout_constraintTop_toTopOf="parent" />