aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorBryson Steck <steck.bryson@gmail.com>2021-05-04 20:18:17 -0600
committerBryson Steck <steck.bryson@gmail.com>2021-05-04 20:18:17 -0600
commit50dfc57c61a01dc20a42129246b458bf90e26154 (patch)
tree4c9e38c1fb4130b566b9393b317b7c7c104a51ba /app/src/main/res
parent99643e5be84af7e8da217ed48597ceb3c9d3bc85 (diff)
downloadwiimmfi-watcher-50dfc57c61a01dc20a42129246b458bf90e26154.tar
wiimmfi-watcher-50dfc57c61a01dc20a42129246b458bf90e26154.tar.gz
wiimmfi-watcher-50dfc57c61a01dc20a42129246b458bf90e26154.tar.bz2
getting closer to implementing the recycler view
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/fragment_recent_friend_codes.xml31
-rw-r--r--app/src/main/res/layout/friend_code_input_fragment.xml17
-rw-r--r--app/src/main/res/layout/recent_friend_codes_item.xml6
3 files changed, 19 insertions, 35 deletions
diff --git a/app/src/main/res/layout/fragment_recent_friend_codes.xml b/app/src/main/res/layout/fragment_recent_friend_codes.xml
deleted file mode 100644
index e05ce4a..0000000
--- a/app/src/main/res/layout/fragment_recent_friend_codes.xml
+++ /dev/null
@@ -1,31 +0,0 @@
-<?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:id="@+id/recent_friend_codes_layout"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
-
- <TextView
- android:id="@+id/textView"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:padding="15dp"
- android:text="Recently Watched Friend Codes:"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
-
- <androidx.recyclerview.widget.RecyclerView
- android:id="@+id/recent_friend_codes_recycler_view"
- android:layout_width="match_parent"
- android:layout_height="0dp"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/textView" />
-
- <!-- <androidx.recyclerview.widget.RecyclerView-->
- <!-- android:id="@+id/recent_friend_codes_recycler_view"-->
- <!-- android:layout_width="match_parent"-->
- <!-- android:layout_height="0dp"-->
- <!-- app:layout_constraintBottom_toBottomOf="parent"-->
- <!-- app:layout_constraintTop_toBottomOf="@+id/textView" />-->
-</androidx.constraintlayout.widget.ConstraintLayout> \ No newline at end of file
diff --git a/app/src/main/res/layout/friend_code_input_fragment.xml b/app/src/main/res/layout/friend_code_input_fragment.xml
index 4f3b9ea..a70e6df 100644
--- a/app/src/main/res/layout/friend_code_input_fragment.xml
+++ b/app/src/main/res/layout/friend_code_input_fragment.xml
@@ -44,4 +44,21 @@
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/watch_button" />
+ <TextView
+ android:id="@+id/textView3"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:text="Recently Watched Friend Codes:"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@+id/error_text" />
+
+ <androidx.recyclerview.widget.RecyclerView
+ android:id="@+id/recent_friend_codes_recycler_view"
+ android:layout_width="match_parent"
+ android:layout_height="0dp"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintTop_toBottomOf="@+id/textView3"
+ tools:layout_editor_absoluteX="15dp" />
+
</androidx.constraintlayout.widget.ConstraintLayout> \ No newline at end of file
diff --git a/app/src/main/res/layout/recent_friend_codes_item.xml b/app/src/main/res/layout/recent_friend_codes_item.xml
index e56629a..7609cdc 100644
--- a/app/src/main/res/layout/recent_friend_codes_item.xml
+++ b/app/src/main/res/layout/recent_friend_codes_item.xml
@@ -9,10 +9,8 @@
android:id="@+id/recent_friend_code_button"
android:layout_width="0dp"
android:layout_height="wrap_content"
- android:layout_margin="15dp"
- android:backgroundTint="#B3B3B3"
- android:text="0000-0000-0000"
- android:textColor="#383838"
+ android:text="Button"
+ app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout> \ No newline at end of file