aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authorClyhtsuriva <aimeric@adjutor.xyz>2021-02-22 00:00:12 +0100
committerClyhtsuriva <aimeric@adjutor.xyz>2021-02-22 00:00:12 +0100
commit56f69f774bc2a7ef645169f85b89934255c29cf9 (patch)
treef6a41952dc69088d6d9c68b25887c5960ce5cd74 /app/src/main/res/layout
parent94ab3bbeb21049ac1be128ee00dbae1570346123 (diff)
API call and display on DetailTopMangaActivity.kt
Still need to find a way to call with the right ID. Rn, using the id 1 of monster as a "placeholder"
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/activity_detail_top_manga.xml34
1 files changed, 28 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 b9a5dd7..ffb9791 100644
--- a/app/src/main/res/layout/activity_detail_top_manga.xml
+++ b/app/src/main/res/layout/activity_detail_top_manga.xml
@@ -104,9 +104,10 @@
android:id="@+id/cv_more_infos"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- app:layout_constraintTop_toBottomOf="@id/cv_header"
android:layout_margin="4sp"
- app:cardBackgroundColor="@color/black">
+ app:cardBackgroundColor="@color/black"
+ app:layout_constraintTop_toBottomOf="@id/cv_header">
+
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
@@ -120,8 +121,9 @@
android:textColor="@color/strong_pink"
app:layout_constraintBottom_toBottomOf="@id/tv_volumes"
app:layout_constraintEnd_toStartOf="@id/tv_volumes"
- app:layout_constraintTop_toTopOf="@id/tv_volumes"
- app:layout_constraintStart_toStartOf="parent"/>
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="@id/tv_volumes" />
+
<TextView
android:id="@+id/tv_volumes"
android:layout_width="wrap_content"
@@ -140,6 +142,7 @@
app:layout_constraintBottom_toBottomOf="@id/tv_chapters"
app:layout_constraintEnd_toStartOf="@id/tv_chapters"
app:layout_constraintTop_toTopOf="@id/tv_chapters" />
+
<TextView
android:id="@+id/tv_chapters"
android:layout_width="wrap_content"
@@ -159,6 +162,7 @@
app:layout_constraintBottom_toBottomOf="@id/tv_start_date"
app:layout_constraintEnd_toStartOf="@id/tv_start_date"
app:layout_constraintTop_toTopOf="@id/tv_start_date" />
+
<TextView
android:id="@+id/tv_start_date"
android:layout_width="wrap_content"
@@ -177,6 +181,7 @@
app:layout_constraintBottom_toBottomOf="@id/tv_end_date"
app:layout_constraintEnd_toStartOf="@id/tv_end_date"
app:layout_constraintTop_toTopOf="@id/tv_end_date" />
+
<TextView
android:id="@+id/tv_end_date"
android:layout_width="wrap_content"
@@ -201,6 +206,14 @@
android:layout_height="match_parent"
android:padding="10dp">
+ <TextView
+ android:id="@+id/tv_text_synopsis"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/text_synopsis"
+ android:textColor="@color/strong_pink"
+ app:layout_constraintTop_toTopOf="parent"
+ app:layout_constraintStart_toStartOf="parent"/>
<TextView
android:id="@+id/tv_synopsis"
android:layout_width="wrap_content"
@@ -210,7 +223,7 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent"/>
+ app:layout_constraintTop_toBottomOf="@id/tv_text_synopsis"/>
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.cardview.widget.CardView>
@@ -226,6 +239,15 @@
android:layout_height="match_parent"
android:padding="10dp">
+
+ <TextView
+ android:id="@+id/tv_text_background"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/text_background"
+ 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"
@@ -235,7 +257,7 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent"/>
+ app:layout_constraintTop_toBottomOf="@id/tv_text_background"/>
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.cardview.widget.CardView>