Fix issue #782 - Overlapped texts with "About my instance"

This commit is contained in:
Thomas 2023-02-06 10:16:45 +01:00
parent 2fcb02ea4f
commit 810b2e9864

View file

@ -48,23 +48,30 @@
android:layout_marginHorizontal="6dp" android:layout_marginHorizontal="6dp"
android:textAlignment="center" android:textAlignment="center"
android:textAppearance="@style/TextAppearance.Material3.TitleLarge" android:textAppearance="@style/TextAppearance.Material3.TitleLarge"
app:layout_constraintBottom_toTopOf="@id/description" app:layout_constraintBottom_toTopOf="@id/description_container"
app:layout_constraintTop_toTopOf="@id/background_image" app:layout_constraintTop_toTopOf="@id/background_image"
app:layout_constraintVertical_chainStyle="packed" app:layout_constraintVertical_chainStyle="packed"
tools:text="Instance" /> tools:text="Instance" />
<com.google.android.material.textview.MaterialTextView <androidx.core.widget.NestedScrollView
android:id="@+id/description" android:id="@+id/description_container"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="0dp"
android:layout_marginHorizontal="6dp"
android:layout_marginTop="6dp"
android:textAlignment="center"
android:textAppearance="@style/TextAppearance.Material3.LabelMedium"
app:layout_constraintBottom_toTopOf="@id/version" app:layout_constraintBottom_toTopOf="@id/version"
app:layout_constraintTop_toBottomOf="@id/name" app:layout_constraintTop_toBottomOf="@id/name">
tools:maxLines="6"
tools:text="@tools:sample/lorem/random" /> <com.google.android.material.textview.MaterialTextView
android:id="@+id/description"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="6dp"
android:layout_marginTop="6dp"
android:textAlignment="center"
android:textAppearance="@style/TextAppearance.Material3.LabelMedium"
tools:maxLines="6"
tools:text="@tools:sample/lorem/random" />
</androidx.core.widget.NestedScrollView>
<com.google.android.material.textview.MaterialTextView <com.google.android.material.textview.MaterialTextView
android:id="@+id/version" android:id="@+id/version"
@ -74,7 +81,7 @@
android:textAlignment="center" android:textAlignment="center"
android:textAppearance="@style/TextAppearance.Material3.LabelMedium" android:textAppearance="@style/TextAppearance.Material3.LabelMedium"
app:layout_constraintBottom_toTopOf="@id/uri" app:layout_constraintBottom_toTopOf="@id/uri"
app:layout_constraintTop_toBottomOf="@id/description" app:layout_constraintTop_toBottomOf="@id/description_container"
tools:text="4.0" /> tools:text="4.0" />
<com.google.android.material.button.MaterialButton <com.google.android.material.button.MaterialButton
@ -106,7 +113,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:visibility="gone" android:visibility="gone"
app:constraint_referenced_ids="name,description,version,uri,contact" app:constraint_referenced_ids="name,description_container,version,uri,contact"
tools:visibility="visible" /> tools:visibility="visible" />
<com.google.android.material.progressindicator.CircularProgressIndicator <com.google.android.material.progressindicator.CircularProgressIndicator