summaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorClyhtsuriva <aimeric@adjutor.xyz>2021-02-22 01:25:50 +0100
committerClyhtsuriva <aimeric@adjutor.xyz>2021-02-22 01:25:50 +0100
commit8e2f9e71a8b5ca3c978007da5c6db59491349d84 (patch)
treee69a1fbc7517f35dbb50af62ba97d456f5534dd9 /app/src/main/res
parent3265956c1a74f2346c5f7fedaf938d71b69261ba (diff)
Text justified and constrained better.
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/activity_detail_top_manga.xml13
1 files changed, 7 insertions, 6 deletions
diff --git a/app/src/main/res/layout/activity_detail_top_manga.xml b/app/src/main/res/layout/activity_detail_top_manga.xml
index ffb9791..f5ce8b9 100644
--- a/app/src/main/res/layout/activity_detail_top_manga.xml
+++ b/app/src/main/res/layout/activity_detail_top_manga.xml
@@ -218,12 +218,12 @@
android:id="@+id/tv_synopsis"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
+ android:justificationMode="inter_word"
android:text="@string/synopsis"
android:textColor="@color/slightly_desaturated_magenta"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@id/tv_text_synopsis"/>
+ app:layout_constraintTop_toBottomOf="@id/tv_text_synopsis"
+ tools:targetApi="o" />
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.cardview.widget.CardView>
@@ -248,16 +248,17 @@
android:textColor="@color/strong_pink"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintStart_toStartOf="parent"/>
+
<TextView
android:id="@+id/tv_background"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
+ android:justificationMode="inter_word"
android:text="@string/background"
android:textColor="@color/slightly_desaturated_magenta"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@id/tv_text_background"/>
+ app:layout_constraintTop_toBottomOf="@id/tv_text_background"
+ tools:targetApi="o" />
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.cardview.widget.CardView>