summaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorClyhtsuriva <aimeric@adjutor.xyz>2021-03-02 09:13:54 +0100
committerClyhtsuriva <aimeric@adjutor.xyz>2021-03-02 09:13:54 +0100
commitf9f079eea806454d49d6088089511d72e1c28f86 (patch)
treeb0eaf1019c094b9857c94a2e245682ebc976f0b0 /app/src/main/res
parent9e1f3503c1a80d7e108f60f9065ae08abb7c2b3f (diff)
Cleaning up the code.
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/activity_detail_top_anime.xml479
-rw-r--r--app/src/main/res/layout/activity_detail_top_manga.xml582
-rw-r--r--app/src/main/res/layout/activity_main.xml3
-rw-r--r--app/src/main/res/layout/home_page.xml16
-rw-r--r--app/src/main/res/layout/top_anime_page.xml31
-rw-r--r--app/src/main/res/layout/top_manga_page.xml31
6 files changed, 575 insertions, 567 deletions
diff --git a/app/src/main/res/layout/activity_detail_top_anime.xml b/app/src/main/res/layout/activity_detail_top_anime.xml
index 15de318..cd7bb59 100644
--- a/app/src/main/res/layout/activity_detail_top_anime.xml
+++ b/app/src/main/res/layout/activity_detail_top_anime.xml
@@ -3,251 +3,258 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/very_dark_purple">
-<androidx.constraintlayout.widget.ConstraintLayout xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- tools:context=".anime.topanime.DetailTopAnimeActivity">
- <androidx.cardview.widget.CardView
- android:id="@+id/cv_header"
+
+ <androidx.constraintlayout.widget.ConstraintLayout xmlns:app="http://schemas.android.com/apk/res-auto"
+ xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_margin="4sp"
- app:cardBackgroundColor="@color/black"
- app:layout_constraintTop_toTopOf="parent">
- <androidx.constraintlayout.widget.ConstraintLayout
+ tools:context=".anime.topanime.DetailTopAnimeActivity">
+
+ <androidx.cardview.widget.CardView
+ android:id="@+id/cv_header"
android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:padding="10dp">
+ android:layout_height="wrap_content"
+ android:layout_margin="4sp"
+ app:cardBackgroundColor="@color/black"
+ app:layout_constraintTop_toTopOf="parent">
- <TextView
- android:layout_width="wrap_content"
+ <androidx.constraintlayout.widget.ConstraintLayout
+ android:layout_width="match_parent"
android:layout_height="match_parent"
- android:text="@string/text_mal_id"
- android:textColor="@color/strong_pink"
- app:layout_constraintEnd_toStartOf="@id/tv_detail_id" />
- <TextView
- android:id="@+id/tv_detail_id"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/id"
- android:textColor="@color/slightly_desaturated_magenta"
- android:textIsSelectable="true"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toEndOf="@id/iv_detail_image"
- app:layout_constraintTop_toTopOf="parent" />
-
- <ImageView
- android:id="@+id/iv_detail_image"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:contentDescription="@string/image"
- android:src="@mipmap/ic_launcher"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
-
- <TextView
- android:id="@+id/tv_detail_title"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_marginHorizontal="10sp"
- android:fontFamily="@font/bangers"
- android:text="@string/title"
- android:textAlignment="center"
- android:textColor="@color/strong_pink"
- android:textIsSelectable="true"
- android:textSize="30sp"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toEndOf="@id/iv_detail_image"
- app:layout_constraintTop_toTopOf="parent" />
-
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/text_rank"
- android:textColor="@color/strong_pink"
- app:layout_constraintBottom_toBottomOf="@id/tv_detail_rank"
- app:layout_constraintEnd_toStartOf="@id/tv_detail_rank"
- app:layout_constraintTop_toTopOf="@id/tv_detail_rank" />
- <TextView
- android:id="@+id/tv_detail_rank"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/rank"
- android:textColor="@color/slightly_desaturated_magenta"
- android:textSize="20sp"
- app:layout_constraintBottom_toTopOf="@id/tv_detail_title"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
-
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/text_score"
- android:textColor="@color/strong_pink"
- app:layout_constraintBottom_toBottomOf="@id/tv_detail_score"
- app:layout_constraintEnd_toStartOf="@id/tv_detail_score"
- app:layout_constraintTop_toTopOf="@id/tv_detail_score" />
- <TextView
- android:id="@+id/tv_detail_score"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/score"
- android:textColor="@color/slightly_desaturated_magenta"
- android:textSize="20sp"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintTop_toBottomOf="@id/tv_detail_title" />
-
- </androidx.constraintlayout.widget.ConstraintLayout>
-</androidx.cardview.widget.CardView>
-
- <androidx.cardview.widget.CardView
- android:id="@+id/cv_more_infos"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_margin="4sp"
- app:cardBackgroundColor="@color/black"
- app:layout_constraintTop_toBottomOf="@id/cv_header">
+ android:padding="10dp">
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:text="@string/text_mal_id"
+ android:textColor="@color/strong_pink"
+ app:layout_constraintEnd_toStartOf="@id/tv_detail_id" />
+
+ <TextView
+ android:id="@+id/tv_detail_id"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/id"
+ android:textColor="@color/slightly_desaturated_magenta"
+ android:textIsSelectable="true"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toEndOf="@id/iv_detail_image"
+ app:layout_constraintTop_toTopOf="parent" />
- <androidx.constraintlayout.widget.ConstraintLayout
+ <ImageView
+ android:id="@+id/iv_detail_image"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:contentDescription="@string/image"
+ android:src="@mipmap/ic_launcher"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent" />
+
+ <TextView
+ android:id="@+id/tv_detail_title"
+ android:layout_width="0dp"
+ android:layout_height="match_parent"
+ android:layout_marginHorizontal="10sp"
+ android:fontFamily="@font/bangers"
+ android:text="@string/title"
+ android:textAlignment="center"
+ android:textColor="@color/strong_pink"
+ android:textIsSelectable="true"
+ android:textSize="30sp"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toEndOf="@id/iv_detail_image"
+ app:layout_constraintTop_toTopOf="parent" />
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/text_rank"
+ android:textColor="@color/strong_pink"
+ app:layout_constraintBottom_toBottomOf="@id/tv_detail_rank"
+ app:layout_constraintEnd_toStartOf="@id/tv_detail_rank"
+ app:layout_constraintTop_toTopOf="@id/tv_detail_rank" />
+
+ <TextView
+ android:id="@+id/tv_detail_rank"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/rank"
+ android:textColor="@color/slightly_desaturated_magenta"
+ android:textSize="20sp"
+ app:layout_constraintBottom_toTopOf="@id/tv_detail_title"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintTop_toTopOf="parent" />
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/text_score"
+ android:textColor="@color/strong_pink"
+ app:layout_constraintBottom_toBottomOf="@id/tv_detail_score"
+ app:layout_constraintEnd_toStartOf="@id/tv_detail_score"
+ app:layout_constraintTop_toTopOf="@id/tv_detail_score" />
+
+ <TextView
+ android:id="@+id/tv_detail_score"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/score"
+ android:textColor="@color/slightly_desaturated_magenta"
+ android:textSize="20sp"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintTop_toBottomOf="@id/tv_detail_title" />
+
+ </androidx.constraintlayout.widget.ConstraintLayout>
+ </androidx.cardview.widget.CardView>
+
+ <androidx.cardview.widget.CardView
+ android:id="@+id/cv_more_infos"
android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:padding="10dp">
-
- <TextView
- android:id="@+id/tv_text_episodes"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/text_episodes"
- android:textColor="@color/strong_pink"
- app:layout_constraintBottom_toBottomOf="@id/tv_episodes"
- app:layout_constraintEnd_toStartOf="@id/tv_episodes"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="@id/tv_episodes" />
-
- <TextView
- android:id="@+id/tv_episodes"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/episodes"
- android:textColor="@color/slightly_desaturated_magenta"
- app:layout_constraintStart_toEndOf="@id/tv_text_episodes"
- app:layout_constraintTop_toTopOf="parent"
- app:layout_constraintBottom_toBottomOf="parent"/>
-
- <TextView
- android:id="@+id/tv_text_start_date"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/text_start_date"
- android:textColor="@color/strong_pink"
- 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"
- android:layout_height="wrap_content"
- android:text="@string/start_date"
- android:textColor="@color/slightly_desaturated_magenta"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
-
- <TextView
- android:id="@+id/tv_text_end_date"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/text_end_date"
- android:textColor="@color/strong_pink"
- 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"
- android:layout_height="wrap_content"
- android:text="@string/end_date"
- android:textColor="@color/slightly_desaturated_magenta"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintTop_toBottomOf="@id/tv_start_date" />
-
- </androidx.constraintlayout.widget.ConstraintLayout>
- </androidx.cardview.widget.CardView>
-
- <androidx.cardview.widget.CardView
- android:id="@+id/cv_synopsis"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_margin="4sp"
- app:cardBackgroundColor="@color/black"
- app:layout_constraintTop_toBottomOf="@id/cv_more_infos">
- <androidx.constraintlayout.widget.ConstraintLayout
+ android:layout_height="wrap_content"
+ android:layout_margin="4sp"
+ 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"
+ android:padding="10dp">
+
+ <TextView
+ android:id="@+id/tv_text_episodes"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/text_episodes"
+ android:textColor="@color/strong_pink"
+ app:layout_constraintBottom_toBottomOf="@id/tv_episodes"
+ app:layout_constraintEnd_toStartOf="@id/tv_episodes"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="@id/tv_episodes" />
+
+ <TextView
+ android:id="@+id/tv_episodes"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/episodes"
+ android:textColor="@color/slightly_desaturated_magenta"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintStart_toEndOf="@id/tv_text_episodes"
+ app:layout_constraintTop_toTopOf="parent" />
+
+ <TextView
+ android:id="@+id/tv_text_start_date"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/text_start_date"
+ android:textColor="@color/strong_pink"
+ 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"
+ android:layout_height="wrap_content"
+ android:text="@string/start_date"
+ android:textColor="@color/slightly_desaturated_magenta"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintTop_toTopOf="parent" />
+
+ <TextView
+ android:id="@+id/tv_text_end_date"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/text_end_date"
+ android:textColor="@color/strong_pink"
+ 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"
+ android:layout_height="wrap_content"
+ android:text="@string/end_date"
+ android:textColor="@color/slightly_desaturated_magenta"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintTop_toBottomOf="@id/tv_start_date" />
+
+ </androidx.constraintlayout.widget.ConstraintLayout>
+ </androidx.cardview.widget.CardView>
+
+ <androidx.cardview.widget.CardView
+ android:id="@+id/cv_synopsis"
android:layout_width="match_parent"
- 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_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- <TextView
- android:id="@+id/tv_synopsis"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/synopsis"
- android:textColor="@color/slightly_desaturated_magenta"
- android:textIsSelectable="true"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@id/tv_text_synopsis"
- />
+ android:layout_height="wrap_content"
+ android:layout_margin="4sp"
+ app:cardBackgroundColor="@color/black"
+ app:layout_constraintTop_toBottomOf="@id/cv_more_infos">
- </androidx.constraintlayout.widget.ConstraintLayout>
- </androidx.cardview.widget.CardView>
+ <androidx.constraintlayout.widget.ConstraintLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:padding="10dp">
- <androidx.cardview.widget.CardView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_margin="4sp"
- app:cardBackgroundColor="@color/black"
- app:layout_constraintTop_toBottomOf="@id/cv_synopsis">
- <androidx.constraintlayout.widget.ConstraintLayout
+ <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_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent" />
+
+ <TextView
+ android:id="@+id/tv_synopsis"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/synopsis"
+ android:textColor="@color/slightly_desaturated_magenta"
+ android:textIsSelectable="true"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@id/tv_text_synopsis" />
+
+ </androidx.constraintlayout.widget.ConstraintLayout>
+ </androidx.cardview.widget.CardView>
+
+ <androidx.cardview.widget.CardView
android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:padding="10dp">
-
-
- <TextView
- android:id="@+id/tv_text_url"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/text_url"
- android:textColor="@color/strong_pink"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
-
- <TextView
- android:id="@+id/tv_url"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/url"
- android:textColor="@color/slightly_desaturated_magenta"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@id/tv_text_url"
- android:autoLink="all"
- android:textColorLink="@color/very_light_magenta"
- />
-
- </androidx.constraintlayout.widget.ConstraintLayout>
- </androidx.cardview.widget.CardView>
-
-</androidx.constraintlayout.widget.ConstraintLayout>
+ android:layout_height="wrap_content"
+ android:layout_margin="4sp"
+ app:cardBackgroundColor="@color/black"
+ app:layout_constraintTop_toBottomOf="@id/cv_synopsis">
+
+ <androidx.constraintlayout.widget.ConstraintLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:padding="10dp">
+
+
+ <TextView
+ android:id="@+id/tv_text_url"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/text_url"
+ android:textColor="@color/strong_pink"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent" />
+
+ <TextView
+ android:id="@+id/tv_url"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:autoLink="all"
+ android:text="@string/url"
+ android:textColor="@color/slightly_desaturated_magenta"
+ android:textColorLink="@color/very_light_magenta"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@id/tv_text_url" />
+
+ </androidx.constraintlayout.widget.ConstraintLayout>
+ </androidx.cardview.widget.CardView>
+
+ </androidx.constraintlayout.widget.ConstraintLayout>
</ScrollView> \ No newline at end of file
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 0a8f07b..3f703b6 100644
--- a/app/src/main/res/layout/activity_detail_top_manga.xml
+++ b/app/src/main/res/layout/activity_detail_top_manga.xml
@@ -3,305 +3,313 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/very_dark_purple">
-<androidx.constraintlayout.widget.ConstraintLayout xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- tools:context=".manga.topmanga.DetailTopMangaActivity">
- <androidx.cardview.widget.CardView
- android:id="@+id/cv_header"
+
+ <androidx.constraintlayout.widget.ConstraintLayout xmlns:app="http://schemas.android.com/apk/res-auto"
+ xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_margin="4sp"
- app:cardBackgroundColor="@color/black"
- app:layout_constraintTop_toTopOf="parent">
- <androidx.constraintlayout.widget.ConstraintLayout
+ tools:context=".manga.topmanga.DetailTopMangaActivity">
+
+ <androidx.cardview.widget.CardView
+ android:id="@+id/cv_header"
android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:padding="10dp">
+ android:layout_height="wrap_content"
+ android:layout_margin="4sp"
+ app:cardBackgroundColor="@color/black"
+ app:layout_constraintTop_toTopOf="parent">
- <TextView
- android:layout_width="wrap_content"
+ <androidx.constraintlayout.widget.ConstraintLayout
+ android:layout_width="match_parent"
android:layout_height="match_parent"
- android:text="@string/text_mal_id"
- android:textColor="@color/strong_pink"
- app:layout_constraintEnd_toStartOf="@id/tv_detail_id" />
- <TextView
- android:id="@+id/tv_detail_id"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/id"
- android:textColor="@color/slightly_desaturated_magenta"
- android:textIsSelectable="true"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toEndOf="@id/iv_detail_image"
- app:layout_constraintTop_toTopOf="parent" />
-
- <ImageView
- android:id="@+id/iv_detail_image"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:contentDescription="@string/image"
- android:src="@mipmap/ic_launcher"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
-
- <TextView
- android:id="@+id/tv_detail_title"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_marginHorizontal="10sp"
- android:fontFamily="@font/bangers"
- android:text="@string/title"
- android:textAlignment="center"
- android:textColor="@color/strong_pink"
- android:textIsSelectable="true"
- android:textSize="30sp"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toEndOf="@id/iv_detail_image"
- app:layout_constraintTop_toTopOf="parent" />
-
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/text_rank"
- android:textColor="@color/strong_pink"
- app:layout_constraintBottom_toBottomOf="@id/tv_detail_rank"
- app:layout_constraintEnd_toStartOf="@id/tv_detail_rank"
- app:layout_constraintTop_toTopOf="@id/tv_detail_rank" />
- <TextView
- android:id="@+id/tv_detail_rank"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/rank"
- android:textColor="@color/slightly_desaturated_magenta"
- android:textSize="20sp"
- app:layout_constraintBottom_toTopOf="@id/tv_detail_title"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
-
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/text_score"
- android:textColor="@color/strong_pink"
- app:layout_constraintBottom_toBottomOf="@id/tv_detail_score"
- app:layout_constraintEnd_toStartOf="@id/tv_detail_score"
- app:layout_constraintTop_toTopOf="@id/tv_detail_score" />
- <TextView
- android:id="@+id/tv_detail_score"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/score"
- android:textColor="@color/slightly_desaturated_magenta"
- android:textSize="20sp"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintTop_toBottomOf="@id/tv_detail_title" />
-
- </androidx.constraintlayout.widget.ConstraintLayout>
-</androidx.cardview.widget.CardView>
-
- <androidx.cardview.widget.CardView
- android:id="@+id/cv_more_infos"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_margin="4sp"
- app:cardBackgroundColor="@color/black"
- app:layout_constraintTop_toBottomOf="@id/cv_header">
+ android:padding="10dp">
- <androidx.constraintlayout.widget.ConstraintLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:padding="10dp">
-
- <TextView
- android:id="@+id/tv_text_volumes"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/text_volumes"
- android:textColor="@color/strong_pink"
- app:layout_constraintBottom_toBottomOf="@id/tv_volumes"
- app:layout_constraintEnd_toStartOf="@id/tv_volumes"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="@id/tv_volumes" />
-
- <TextView
- android:id="@+id/tv_volumes"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/volumes"
- android:textColor="@color/slightly_desaturated_magenta"
- app:layout_constraintStart_toEndOf="@id/tv_text_volumes"
- app:layout_constraintTop_toTopOf="parent" />
-
- <TextView
- android:id="@+id/tv_text_chapters"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/text_chapters"
- android:textColor="@color/strong_pink"
- 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"
- android:layout_height="wrap_content"
- android:text="@string/chapters"
- android:textColor="@color/slightly_desaturated_magenta"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintStart_toEndOf="@id/tv_text_chapters"
- app:layout_constraintTop_toBottomOf="@id/tv_volumes" />
-
- <TextView
- android:id="@+id/tv_text_start_date"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/text_start_date"
- android:textColor="@color/strong_pink"
- 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"
- android:layout_height="wrap_content"
- android:text="@string/start_date"
- android:textColor="@color/slightly_desaturated_magenta"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
-
- <TextView
- android:id="@+id/tv_text_end_date"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/text_end_date"
- android:textColor="@color/strong_pink"
- 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"
- android:layout_height="wrap_content"
- android:text="@string/end_date"
- android:textColor="@color/slightly_desaturated_magenta"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintTop_toBottomOf="@id/tv_start_date" />
-
- </androidx.constraintlayout.widget.ConstraintLayout>
- </androidx.cardview.widget.CardView>
-
- <androidx.cardview.widget.CardView
- android:id="@+id/cv_synopsis"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_margin="4sp"
- app:cardBackgroundColor="@color/black"
- app:layout_constraintTop_toBottomOf="@id/cv_more_infos">
- <androidx.constraintlayout.widget.ConstraintLayout
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:text="@string/text_mal_id"
+ android:textColor="@color/strong_pink"
+ app:layout_constraintEnd_toStartOf="@id/tv_detail_id" />
+
+ <TextView
+ android:id="@+id/tv_detail_id"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/id"
+ android:textColor="@color/slightly_desaturated_magenta"
+ android:textIsSelectable="true"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toEndOf="@id/iv_detail_image"
+ app:layout_constraintTop_toTopOf="parent" />
+
+ <ImageView
+ android:id="@+id/iv_detail_image"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:contentDescription="@string/image"
+ android:src="@mipmap/ic_launcher"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent" />
+
+ <TextView
+ android:id="@+id/tv_detail_title"
+ android:layout_width="0dp"
+ android:layout_height="match_parent"
+ android:layout_marginHorizontal="10sp"
+ android:fontFamily="@font/bangers"
+ android:text="@string/title"
+ android:textAlignment="center"
+ android:textColor="@color/strong_pink"
+ android:textIsSelectable="true"
+ android:textSize="30sp"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toEndOf="@id/iv_detail_image"
+ app:layout_constraintTop_toTopOf="parent" />
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/text_rank"
+ android:textColor="@color/strong_pink"
+ app:layout_constraintBottom_toBottomOf="@id/tv_detail_rank"
+ app:layout_constraintEnd_toStartOf="@id/tv_detail_rank"
+ app:layout_constraintTop_toTopOf="@id/tv_detail_rank" />
+
+ <TextView
+ android:id="@+id/tv_detail_rank"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/rank"
+ android:textColor="@color/slightly_desaturated_magenta"
+ android:textSize="20sp"
+ app:layout_constraintBottom_toTopOf="@id/tv_detail_title"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintTop_toTopOf="parent" />
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/text_score"
+ android:textColor="@color/strong_pink"
+ app:layout_constraintBottom_toBottomOf="@id/tv_detail_score"
+ app:layout_constraintEnd_toStartOf="@id/tv_detail_score"
+ app:layout_constraintTop_toTopOf="@id/tv_detail_score" />
+
+ <TextView
+ android:id="@+id/tv_detail_score"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/score"
+ android:textColor="@color/slightly_desaturated_magenta"
+ android:textSize="20sp"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintTop_toBottomOf="@id/tv_detail_title" />
+
+ </androidx.constraintlayout.widget.ConstraintLayout>
+ </androidx.cardview.widget.CardView>
+
+ <androidx.cardview.widget.CardView
+ android:id="@+id/cv_more_infos"
android:layout_width="match_parent"
- 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_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- <TextView
- android:id="@+id/tv_synopsis"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/synopsis"
- android:textColor="@color/slightly_desaturated_magenta"
- android:textIsSelectable="true"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@id/tv_text_synopsis"
- />
-
- </androidx.constraintlayout.widget.ConstraintLayout>
- </androidx.cardview.widget.CardView>
-
- <androidx.cardview.widget.CardView
- android:id="@+id/cv_background"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_margin="4sp"
- app:cardBackgroundColor="@color/black"
- app:layout_constraintTop_toBottomOf="@id/cv_synopsis">
- <androidx.constraintlayout.widget.ConstraintLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:padding="10dp">
+ android:layout_height="wrap_content"
+ android:layout_margin="4sp"
+ 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"
+ android:padding="10dp">
+
+ <TextView
+ android:id="@+id/tv_text_volumes"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/text_volumes"
+ android:textColor="@color/strong_pink"
+ app:layout_constraintBottom_toBottomOf="@id/tv_volumes"
+ app:layout_constraintEnd_toStartOf="@id/tv_volumes"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="@id/tv_volumes" />
+
+ <TextView
+ android:id="@+id/tv_volumes"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/volumes"
+ android:textColor="@color/slightly_desaturated_magenta"
+ app:layout_constraintStart_toEndOf="@id/tv_text_volumes"
+ app:layout_constraintTop_toTopOf="parent" />
+ <TextView
+ android:id="@+id/tv_text_chapters"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/text_chapters"
+ android:textColor="@color/strong_pink"
+ 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_text_background"
- android:layout_width="wrap_content"
+ <TextView
+ android:id="@+id/tv_chapters"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/chapters"
+ android:textColor="@color/slightly_desaturated_magenta"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintStart_toEndOf="@id/tv_text_chapters"
+ app:layout_constraintTop_toBottomOf="@id/tv_volumes" />
+
+ <TextView
+ android:id="@+id/tv_text_start_date"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/text_start_date"
+ android:textColor="@color/strong_pink"
+ 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"
+ android:layout_height="wrap_content"
+ android:text="@string/start_date"
+ android:textColor="@color/slightly_desaturated_magenta"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintTop_toTopOf="parent" />
+
+ <TextView
+ android:id="@+id/tv_text_end_date"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/text_end_date"
+ android:textColor="@color/strong_pink"
+ 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"
+ android:layout_height="wrap_content"
+ android:text="@string/end_date"
+ android:textColor="@color/slightly_desaturated_magenta"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintTop_toBottomOf="@id/tv_start_date" />
+
+ </androidx.constraintlayout.widget.ConstraintLayout>
+ </androidx.cardview.widget.CardView>
+
+ <androidx.cardview.widget.CardView
+ android:id="@+id/cv_synopsis"
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:text="@string/text_background"
- android:textColor="@color/strong_pink"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
-
- <TextView
- android:id="@+id/tv_background"
- android:layout_width="wrap_content"
+ android:layout_margin="4sp"
+ app:cardBackgroundColor="@color/black"
+ app:layout_constraintTop_toBottomOf="@id/cv_more_infos">
+
+ <androidx.constraintlayout.widget.ConstraintLayout
+ android:layout_width="match_parent"
+ 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_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent" />
+
+ <TextView
+ android:id="@+id/tv_synopsis"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/synopsis"
+ android:textColor="@color/slightly_desaturated_magenta"
+ android:textIsSelectable="true"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@id/tv_text_synopsis" />
+
+ </androidx.constraintlayout.widget.ConstraintLayout>
+ </androidx.cardview.widget.CardView>
+
+ <androidx.cardview.widget.CardView
+ android:id="@+id/cv_background"
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:text="@string/background"
- android:textColor="@color/slightly_desaturated_magenta"
- android:textIsSelectable="true"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@id/tv_text_background" />
+ android:layout_margin="4sp"
+ app:cardBackgroundColor="@color/black"
+ app:layout_constraintTop_toBottomOf="@id/cv_synopsis">
- </androidx.constraintlayout.widget.ConstraintLayout>
- </androidx.cardview.widget.CardView>
+ <androidx.constraintlayout.widget.ConstraintLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:padding="10dp">
- <androidx.cardview.widget.CardView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_margin="4sp"
- app:cardBackgroundColor="@color/black"
- app:layout_constraintTop_toBottomOf="@id/cv_background">
- <androidx.constraintlayout.widget.ConstraintLayout
+
+ <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_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent" />
+
+ <TextView
+ android:id="@+id/tv_background"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/background"
+ android:textColor="@color/slightly_desaturated_magenta"
+ android:textIsSelectable="true"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@id/tv_text_background" />
+
+ </androidx.constraintlayout.widget.ConstraintLayout>
+ </androidx.cardview.widget.CardView>
+
+ <androidx.cardview.widget.CardView
android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:padding="10dp">
-
-
- <TextView
- android:id="@+id/tv_text_url"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/text_url"
- android:textColor="@color/strong_pink"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
-
- <TextView
- android:id="@+id/tv_url"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/url"
- android:textColor="@color/slightly_desaturated_magenta"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@id/tv_text_url"
- android:autoLink="all"
- android:textColorLink="@color/very_light_magenta"
- />
-
- </androidx.constraintlayout.widget.ConstraintLayout>
- </androidx.cardview.widget.CardView>
-
-</androidx.constraintlayout.widget.ConstraintLayout>
+ android:layout_height="wrap_content"
+ android:layout_margin="4sp"
+ app:cardBackgroundColor="@color/black"
+ app:layout_constraintTop_toBottomOf="@id/cv_background">
+
+ <androidx.constraintlayout.widget.ConstraintLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:padding="10dp">
+
+
+ <TextView
+ android:id="@+id/tv_text_url"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/text_url"
+ android:textColor="@color/strong_pink"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent" />
+
+ <TextView
+ android:id="@+id/tv_url"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:autoLink="all"
+ android:text="@string/url"
+ android:textColor="@color/slightly_desaturated_magenta"
+ android:textColorLink="@color/very_light_magenta"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@id/tv_text_url" />
+
+ </androidx.constraintlayout.widget.ConstraintLayout>
+ </androidx.cardview.widget.CardView>
+
+ </androidx.constraintlayout.widget.ConstraintLayout>
</ScrollView> \ No newline at end of file
diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml
index dd69e51..a975f22 100644
--- a/app/src/main/res/layout/activity_main.xml
+++ b/app/src/main/res/layout/activity_main.xml
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<androidx.coordinatorlayout.widget.CoordinatorLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
+<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
diff --git a/app/src/main/res/layout/home_page.xml b/app/src/main/res/layout/home_page.xml
index 564d7da..6456dfc 100644
--- a/app/src/main/res/layout/home_page.xml
+++ b/app/src/main/res/layout/home_page.xml
@@ -4,9 +4,8 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
- tools:context=".HomePage"
android:background="@color/very_dark_purple"
- >
+ tools:context=".HomePage">
<TextView
android:id="@+id/tv_title"
@@ -19,29 +18,26 @@
android:textColor="@color/strong_pink"
android:textSize="40sp"
app:layout_constraintBottom_toBottomOf="@id/button_top_manga"
- app:layout_constraintTop_toTopOf="parent"
- />
+ app:layout_constraintTop_toTopOf="parent" />
<Button
android:id="@+id/button_top_manga"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/top_manga"
- app:layout_constraintTop_toBottomOf="@id/tv_title"
app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toStartOf="@id/button_top_anime"
- />
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@id/tv_title" />
<Button
android:id="@+id/button_top_anime"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/top_anime"
- app:layout_constraintTop_toBottomOf="@id/tv_title"
app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintStart_toEndOf="@id/button_top_manga"
app:layout_constraintEnd_toEndOf="parent"
- />
+ app:layout_constraintStart_toEndOf="@id/button_top_manga"
+ app:layout_constraintTop_toBottomOf="@id/tv_title" />
</androidx.constraintlayout.widget.ConstraintLayout> \ No newline at end of file
diff --git a/app/src/main/res/layout/top_anime_page.xml b/app/src/main/res/layout/top_anime_page.xml
index 4f86dc7..c7ec862 100644
--- a/app/src/main/res/layout/top_anime_page.xml
+++ b/app/src/main/res/layout/top_anime_page.xml
@@ -1,27 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
-<androidx.constraintlayout.widget.ConstraintLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
+<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
- tools:context=".anime.topanime.TopAnimePage"
- android:background="@color/very_dark_purple">
+ android:background="@color/very_dark_purple"
+ tools:context=".anime.topanime.TopAnimePage">
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
android:id="@+id/swiperefresh"
android:layout_width="match_parent"
android:layout_height="match_parent">
- <androidx.recyclerview.widget.RecyclerView
- android:id="@+id/recycler_view"
- android:layout_width="0dp"
- android:layout_height="0dp"
- app:layout_constraintBottom_toTopOf="@+id/button_home"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent"
- tools:listitem="@layout/item_layout"
- android:scrollbars="vertical" />
+
+ <androidx.recyclerview.widget.RecyclerView
+ android:id="@+id/recycler_view"
+ android:layout_width="0dp"
+ android:layout_height="0dp"
+ android:scrollbars="vertical"
+ app:layout_constraintBottom_toTopOf="@+id/button_home"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent"
+ tools:listitem="@layout/item_layout" />
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
<Button
@@ -31,7 +31,6 @@
android:text="@string/home"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- />
+ app:layout_constraintStart_toStartOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout> \ No newline at end of file
diff --git a/app/src/main/res/layout/top_manga_page.xml b/app/src/main/res/layout/top_manga_page.xml
index ce793af..f3d0db3 100644
--- a/app/src/main/res/layout/top_manga_page.xml
+++ b/app/src/main/res/layout/top_manga_page.xml
@@ -1,27 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
-<androidx.constraintlayout.widget.ConstraintLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
+<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
- tools:context=".manga.topmanga.TopMangaPage"
- android:background="@color/very_dark_purple">
+ android:background="@color/very_dark_purple"
+ tools:context=".manga.topmanga.TopMangaPage">
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
android:id="@+id/swiperefresh"
android:layout_width="match_parent"
android:layout_height="match_parent">
- <androidx.recyclerview.widget.RecyclerView
- android:id="@+id/recycler_view"
- android:layout_width="0dp"
- android:layout_height="0dp"
- app:layout_constraintBottom_toTopOf="@+id/button_home"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent"
- tools:listitem="@layout/item_layout"
- android:scrollbars="vertical"/>
+
+ <androidx.recyclerview.widget.RecyclerView
+ android:id="@+id/recycler_view"
+ android:layout_width="0dp"
+ android:layout_height="0dp"
+ android:scrollbars="vertical"
+ app:layout_constraintBottom_toTopOf="@+id/button_home"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent"
+ tools:listitem="@layout/item_layout" />
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
<Button
@@ -31,7 +31,6 @@
android:text="@string/home"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- />
+ app:layout_constraintStart_toStartOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout> \ No newline at end of file