commit cd2912bb83c277cdcdaec79c484f576ff78c6700
parent 8c5b9258ac63dfb401fbfc5ffa10081fdf1aaba9
Author: William Lindholm <a22willi@student.his.se>
Date: Wed, 3 May 2023 10:04:40 +0200
Created RecyclerView.
Diffstat:
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml
@@ -6,13 +6,12 @@
android:layout_height="match_parent"
tools:context=".MainActivity">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Hello World!"
+ <androidx.recyclerview.widget.RecyclerView
+ android:id="@+id/recyclerView"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
-
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file