aboutsummaryrefslogtreecommitdiff
path: root/androidApp/src/main/res/layout/devices_fragment.xml
diff options
context:
space:
mode:
authorIsidro Henoch <imhenoch@protonmail.com>2021-12-14 19:01:28 -0600
committerIsidro Henoch <imhenoch@protonmail.com>2021-12-14 19:01:28 -0600
commit233efdfb6aa45965ab0808aca0b823ade6f7b87f (patch)
tree62b8b2627d59cb9d27147fc67f08755cd8d9d992 /androidApp/src/main/res/layout/devices_fragment.xml
parentcd3c9d93053241b48051ca20d301e4768a576456 (diff)
downloadetbsa-trackermap-mobile-233efdfb6aa45965ab0808aca0b823ade6f7b87f.tar.gz
etbsa-trackermap-mobile-233efdfb6aa45965ab0808aca0b823ade6f7b87f.tar.bz2
etbsa-trackermap-mobile-233efdfb6aa45965ab0808aca0b823ade6f7b87f.zip
Creates the RV adapter to display the units on screen
Diffstat (limited to 'androidApp/src/main/res/layout/devices_fragment.xml')
-rw-r--r--androidApp/src/main/res/layout/devices_fragment.xml18
1 files changed, 9 insertions, 9 deletions
diff --git a/androidApp/src/main/res/layout/devices_fragment.xml b/androidApp/src/main/res/layout/devices_fragment.xml
index 579afc2..fd91db3 100644
--- a/androidApp/src/main/res/layout/devices_fragment.xml
+++ b/androidApp/src/main/res/layout/devices_fragment.xml
@@ -1,17 +1,17 @@
<?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"
android:layout_width="match_parent"
- android:layout_height="match_parent"
- xmlns:app="http://schemas.android.com/apk/res-auto">
+ android:layout_height="match_parent">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="DEVICES LIST"
- app:layout_constraintTop_toTopOf="parent"
- app:layout_constraintStart_toStartOf="parent"
+ <androidx.recyclerview.widget.RecyclerView
+ android:id="@+id/devicesList"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintBottom_toBottomOf="parent"/>
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout> \ No newline at end of file