From f9f079eea806454d49d6088089511d72e1c28f86 Mon Sep 17 00:00:00 2001 From: Clyhtsuriva Date: Tue, 2 Mar 2021 09:13:54 +0100 Subject: Cleaning up the code. --- .../main/res/layout/activity_detail_top_anime.xml | 479 ++++++++--------- .../main/res/layout/activity_detail_top_manga.xml | 582 +++++++++++---------- app/src/main/res/layout/activity_main.xml | 3 +- app/src/main/res/layout/home_page.xml | 16 +- app/src/main/res/layout/top_anime_page.xml | 31 +- app/src/main/res/layout/top_manga_page.xml | 31 +- 6 files changed, 575 insertions(+), 567 deletions(-) (limited to 'app/src/main/res') 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"> - - - + + + android:layout_height="wrap_content" + android:layout_margin="4sp" + app:cardBackgroundColor="@color/black" + app:layout_constraintTop_toTopOf="parent"> - - - - - - - - - - - - - - - - - + android:padding="10dp"> + + + + - + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - - + android:layout_height="wrap_content" + android:layout_margin="4sp" + app:cardBackgroundColor="@color/black" + app:layout_constraintTop_toBottomOf="@id/cv_more_infos"> - - + - - + + + + + + + - - - - - - - - - - + android:layout_height="wrap_content" + android:layout_margin="4sp" + app:cardBackgroundColor="@color/black" + app:layout_constraintTop_toBottomOf="@id/cv_synopsis"> + + + + + + + + + + + + \ 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"> - - - + + + android:layout_height="wrap_content" + android:layout_margin="4sp" + app:cardBackgroundColor="@color/black" + app:layout_constraintTop_toTopOf="parent"> - - - - - - - - - - - - - - - - - + android:padding="10dp"> - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - - - - - - - - + android:layout_height="wrap_content" + android:layout_margin="4sp" + app:cardBackgroundColor="@color/black" + app:layout_constraintTop_toBottomOf="@id/cv_header"> + + + + + + + - + + + + + + + + + + + + + - - + + + + + + + + + + + + android:layout_margin="4sp" + app:cardBackgroundColor="@color/black" + app:layout_constraintTop_toBottomOf="@id/cv_synopsis"> - - + - - + + + + + + + - - - - - - - - - - + android:layout_height="wrap_content" + android:layout_margin="4sp" + app:cardBackgroundColor="@color/black" + app:layout_constraintTop_toBottomOf="@id/cv_background"> + + + + + + + + + + + + \ 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 @@ - + tools:context=".HomePage"> + app:layout_constraintTop_toTopOf="parent" />