mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2024-12-22 16:50:04 +02:00
Fix issue #782 - Overlapped texts with "About my instance"
This commit is contained in:
parent
2fcb02ea4f
commit
810b2e9864
1 changed files with 20 additions and 13 deletions
|
@ -48,11 +48,18 @@
|
|||
android:layout_marginHorizontal="6dp"
|
||||
android:textAlignment="center"
|
||||
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_constraintVertical_chainStyle="packed"
|
||||
tools:text="Instance" />
|
||||
|
||||
<androidx.core.widget.NestedScrollView
|
||||
android:id="@+id/description_container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
app:layout_constraintBottom_toTopOf="@id/version"
|
||||
app:layout_constraintTop_toBottomOf="@id/name">
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/description"
|
||||
android:layout_width="match_parent"
|
||||
|
@ -61,10 +68,10 @@
|
|||
android:layout_marginTop="6dp"
|
||||
android:textAlignment="center"
|
||||
android:textAppearance="@style/TextAppearance.Material3.LabelMedium"
|
||||
app:layout_constraintBottom_toTopOf="@id/version"
|
||||
app:layout_constraintTop_toBottomOf="@id/name"
|
||||
tools:maxLines="6"
|
||||
tools:text="@tools:sample/lorem/random" />
|
||||
</androidx.core.widget.NestedScrollView>
|
||||
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/version"
|
||||
|
@ -74,7 +81,7 @@
|
|||
android:textAlignment="center"
|
||||
android:textAppearance="@style/TextAppearance.Material3.LabelMedium"
|
||||
app:layout_constraintBottom_toTopOf="@id/uri"
|
||||
app:layout_constraintTop_toBottomOf="@id/description"
|
||||
app:layout_constraintTop_toBottomOf="@id/description_container"
|
||||
tools:text="4.0" />
|
||||
|
||||
<com.google.android.material.button.MaterialButton
|
||||
|
@ -106,7 +113,7 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
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" />
|
||||
|
||||
<com.google.android.material.progressindicator.CircularProgressIndicator
|
||||
|
|
Loading…
Reference in a new issue