summaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorClyhtsuriva <aimeric@adjutor.xyz>2021-02-20 18:56:42 +0100
committerClyhtsuriva <aimeric@adjutor.xyz>2021-02-20 18:56:42 +0100
commit7c8476a2128f6c4494eaa2d0a363d8cbe3261ba6 (patch)
tree966591a50dd3672209cfac6cb9d3f28e5e6074d0 /app/src/main/res
parent7bc4fe28dd31176c50495b2f3b0ba5a51eca6d9e (diff)
Beginning the manga api part.
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/activity_detail_top_manga.xml22
-rw-r--r--app/src/main/res/values/strings.xml2
2 files changed, 24 insertions, 0 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 3e74697..42018ef 100644
--- a/app/src/main/res/layout/activity_detail_top_manga.xml
+++ b/app/src/main/res/layout/activity_detail_top_manga.xml
@@ -7,6 +7,16 @@
tools:context=".topmanga.DetailTopMangaActivity"
android:background="@color/very_dark_purple">
+ <TextView
+ android:id="@+id/tv_detail_id"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/id"
+ app:layout_constraintTop_toTopOf="parent"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ android:textColor="@color/slightly_desaturated_magenta"/>
+
<ImageView
android:id="@+id/iv_detail_image"
android:layout_width="wrap_content"
@@ -51,4 +61,16 @@
app:layout_constraintStart_toEndOf="@id/tv_detail_rank"
android:textColor="@color/slightly_desaturated_magenta"/>
+ <TextView
+ android:id="@+id/tv_detail_synopsis"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/synopsis"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ android:textColor="@color/slightly_desaturated_magenta"/>
+
+
+
</androidx.constraintlayout.widget.ConstraintLayout> \ No newline at end of file
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 3bcd30b..03d4a0e 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -15,5 +15,7 @@
<string name="top_anime_page_label">Top Anime Page</string>
<string name="top_anime">Top Anime</string>
<string name="score">00.00</string>
+ <string name="id">000000</string>
+ <string name="synopsis">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</string>
</resources> \ No newline at end of file