aboutsummaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/res/layout/activity_detail_top_manga.xml52
1 files changed, 26 insertions, 26 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 0364f99..dfeb8ba 100644
--- a/app/src/main/res/layout/activity_detail_top_manga.xml
+++ b/app/src/main/res/layout/activity_detail_top_manga.xml
@@ -1,14 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
-<ScrollView android:layout_width="match_parent"
+<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
android:layout_height="match_parent"
- xmlns:android="http://schemas.android.com/apk/res/android"
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=".topmanga.DetailTopMangaActivity"
- >
+ tools:context=".topmanga.DetailTopMangaActivity">
<androidx.cardview.widget.CardView
android:id="@+id/cv_header"
android:layout_width="match_parent"
@@ -24,19 +23,19 @@
<TextView
android:layout_width="wrap_content"
android:layout_height="match_parent"
- app:layout_constraintEnd_toStartOf="@id/tv_detail_id"
android:text="@string/text_mal_id"
- android:textColor="@color/strong_pink"/>
+ 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"
- app:layout_constraintTop_toTopOf="parent"
+ android:textColor="@color/slightly_desaturated_magenta"
+ android:textIsSelectable="true"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@id/iv_detail_image"
- android:textColor="@color/slightly_desaturated_magenta"
- android:textIsSelectable="true"/>
+ app:layout_constraintTop_toTopOf="parent" />
<ImageView
android:id="@+id/iv_detail_image"
@@ -57,6 +56,7 @@
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"
@@ -66,11 +66,11 @@
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
+ android:text="@string/text_rank"
android:textColor="@color/strong_pink"
- app:layout_constraintEnd_toStartOf="@id/tv_detail_rank"
- app:layout_constraintTop_toTopOf="@id/tv_detail_rank"
app:layout_constraintBottom_toBottomOf="@id/tv_detail_rank"
- android:text="@string/text_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"
@@ -88,8 +88,8 @@
android:text="@string/text_score"
android:textColor="@color/strong_pink"
app:layout_constraintBottom_toBottomOf="@id/tv_detail_score"
- app:layout_constraintTop_toTopOf="@id/tv_detail_score"
- app:layout_constraintEnd_toStartOf="@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"
@@ -202,9 +202,9 @@
android:id="@+id/cv_synopsis"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- app:layout_constraintTop_toBottomOf="@id/cv_more_infos"
android:layout_margin="4sp"
- app:cardBackgroundColor="@color/black">
+ 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"
@@ -216,8 +216,8 @@
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"/>
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/tv_synopsis"
android:layout_width="wrap_content"
@@ -225,10 +225,10 @@
android:justificationMode="inter_word"
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"
- tools:targetApi="o"
- android:textIsSelectable="true"/>
+ tools:targetApi="o" />
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.cardview.widget.CardView>
@@ -236,9 +236,9 @@
<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
- app:layout_constraintTop_toBottomOf="@id/cv_synopsis"
android:layout_margin="4sp"
- app:cardBackgroundColor="@color/black">
+ 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"
@@ -251,8 +251,8 @@
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"/>
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/tv_background"
@@ -261,10 +261,10 @@
android:justificationMode="inter_word"
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"
- tools:targetApi="o"
- android:textIsSelectable="true"/>
+ tools:targetApi="o" />
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.cardview.widget.CardView>