From a355301d68c819523266f33dfe13258d31b25fa6 Mon Sep 17 00:00:00 2001 From: Christopher Date: Sun, 2 Jun 2024 14:18:15 +0200 Subject: [PATCH] added a RecyclerView to 'fragmnet_shoppinglist_shoplist' added 'fragment_shoppinglist_shoplist_item' added some colors to the colors.xml for the shoplist-item fragment --- .../layout/fragment_shoppinglist_shoplist.xml | 15 ++--- .../fragment_shoppinglist_shoplist_item.xml | 64 +++++++++++++++++++ app/src/main/res/values/colors.xml | 3 + 3 files changed, 74 insertions(+), 8 deletions(-) create mode 100644 app/src/main/res/layout/fragment_shoppinglist_shoplist_item.xml diff --git a/app/src/main/res/layout/fragment_shoppinglist_shoplist.xml b/app/src/main/res/layout/fragment_shoppinglist_shoplist.xml index b06925c..60f19fb 100644 --- a/app/src/main/res/layout/fragment_shoppinglist_shoplist.xml +++ b/app/src/main/res/layout/fragment_shoppinglist_shoplist.xml @@ -6,14 +6,13 @@ android:layout_height="match_parent" tools:context=".ui.dashboard.tabfragment.shoppinglist.ShoplistFragment"> - - + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintHorizontal_bias="0.5" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent" /> \ No newline at end of file diff --git a/app/src/main/res/layout/fragment_shoppinglist_shoplist_item.xml b/app/src/main/res/layout/fragment_shoppinglist_shoplist_item.xml new file mode 100644 index 0000000..d1b51dc --- /dev/null +++ b/app/src/main/res/layout/fragment_shoppinglist_shoplist_item.xml @@ -0,0 +1,64 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index f8c6127..51e3ed1 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -7,4 +7,7 @@ #FF018786 #FF000000 #FFFFFFFF + + #444444 + #FFFFFF \ No newline at end of file