summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/top_manga_page.xml
diff options
context:
space:
mode:
authorClyhtsuriva <aimeric@adjutor.xyz>2021-02-16 11:37:58 +0100
committerClyhtsuriva <aimeric@adjutor.xyz>2021-02-16 11:37:58 +0100
commit7288d5ae154f895d71727acc92828aa555e8108b (patch)
tree367d04058f951c24a1bc4778b85873df89bf67f8 /app/src/main/res/layout/top_manga_page.xml
parent97ff499413e5dae958ac3741616e2ee84a188871 (diff)
Starting to work on recycler view feature
Diffstat (limited to 'app/src/main/res/layout/top_manga_page.xml')
-rw-r--r--app/src/main/res/layout/top_manga_page.xml21
1 files changed, 11 insertions, 10 deletions
diff --git a/app/src/main/res/layout/top_manga_page.xml b/app/src/main/res/layout/top_manga_page.xml
index 6a2f86b..f8d2510 100644
--- a/app/src/main/res/layout/top_manga_page.xml
+++ b/app/src/main/res/layout/top_manga_page.xml
@@ -5,17 +5,17 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".TopMangaPage"
- android:background="@color/very_dark_purple"
- >
+ android:background="@color/very_dark_purple">
- <TextView
- android:id="@+id/textview_second"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- app:layout_constraintBottom_toTopOf="@id/home"
- app:layout_constraintEnd_toEndOf="parent"
+ <androidx.recyclerview.widget.RecyclerView
+ android:id="@+id/recycler_view"
+ android:layout_width="0dp"
+ android:layout_height="0dp"
+ app:layout_constraintTop_toTopOf="parent"
app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintBottom_toTopOf="@+id/home"
+ tools:listitem="@layout/item_layout" />
<Button
android:id="@+id/home"
@@ -25,5 +25,6 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@id/textview_second" />
+ />
+
</androidx.constraintlayout.widget.ConstraintLayout> \ No newline at end of file