diff options
author | Clyhtsuriva <aimeric@adjutor.xyz> | 2021-02-20 18:10:38 +0100 |
---|---|---|
committer | Clyhtsuriva <aimeric@adjutor.xyz> | 2021-02-20 18:10:38 +0100 |
commit | 496eff5e9bf0380253594ddf37a5743f6d250562 (patch) | |
tree | e7c6810b52cf4dfd6e5aa86bd3fe43e1e3715288 /app/src/main/res/layout/activity_detail_top_manga.xml | |
parent | 1eb274dcaaf1ee5f79505da935afcd89856e21fd (diff) |
Intents now working for top mangas
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 |