diff options
Diffstat (limited to 'app/src/main/res/layout/activity_detail_top_manga.xml')
-rw-r--r-- | app/src/main/res/layout/activity_detail_top_manga.xml | 54 |
1 files changed, 54 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 new file mode 100644 index 0000000..3e74697 --- /dev/null +++ b/app/src/main/res/layout/activity_detail_top_manga.xml @@ -0,0 +1,54 @@ +<?xml version="1.0" encoding="utf-8"?> +<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=".topmanga.DetailTopMangaActivity" + android:background="@color/very_dark_purple"> + + <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_constraintEnd_toStartOf="@id/tv_detail_title" + app:layout_constraintTop_toTopOf="parent" /> + + <TextView + android:id="@+id/tv_detail_title" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/title" + app:layout_constraintTop_toTopOf="parent" + app:layout_constraintEnd_toStartOf="@id/tv_detail_rank" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintStart_toEndOf="@id/iv_detail_image" + android:textColor="@color/slightly_desaturated_magenta"/> + + <TextView + android:id="@+id/tv_detail_rank" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/rank" + app:layout_constraintTop_toTopOf="parent" + app:layout_constraintEnd_toStartOf="@id/tv_detail_score" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintStart_toEndOf="@id/tv_detail_title" + android:textColor="@color/slightly_desaturated_magenta"/> + + <TextView + android:id="@+id/tv_detail_score" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/score" + app:layout_constraintTop_toTopOf="parent" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintStart_toEndOf="@id/tv_detail_rank" + android:textColor="@color/slightly_desaturated_magenta"/> + +</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file |