From d24c061e1f91dbc144884b52e96d95c42d097618 Mon Sep 17 00:00:00 2001
From: Nezumi <123229563+Nez27@users.noreply.github.com>
Date: Sun, 19 Feb 2023 17:21:58 +0700
Subject: [PATCH] Improve UI Food Detail
---
app/build.gradle | 1 +
.../main/res/drawable/baseline_edit_24.xml | 5 ++
.../main/res/layout/activity_food_detail.xml | 65 +++++++++++++++---
app/src/main/res/layout/item_review.xml | 68 +++++++++++++++++++
4 files changed, 130 insertions(+), 9 deletions(-)
create mode 100644 app/src/main/res/drawable/baseline_edit_24.xml
create mode 100644 app/src/main/res/layout/item_review.xml
diff --git a/app/build.gradle b/app/build.gradle
index 3553988..15a57df 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -53,4 +53,5 @@ dependencies {
implementation "com.github.kojofosu:Quantitizer:1.6.7"
implementation 'com.squareup.picasso:picasso:2.71828'
implementation "com.paulrybitskyi.persistentsearchview:persistentsearchview:1.1.4"
+ implementation 'com.github.ome450901:SimpleRatingBar:1.5.1'
}
\ No newline at end of file
diff --git a/app/src/main/res/drawable/baseline_edit_24.xml b/app/src/main/res/drawable/baseline_edit_24.xml
new file mode 100644
index 0000000..cda469a
--- /dev/null
+++ b/app/src/main/res/drawable/baseline_edit_24.xml
@@ -0,0 +1,5 @@
+
+
+
diff --git a/app/src/main/res/layout/activity_food_detail.xml b/app/src/main/res/layout/activity_food_detail.xml
index 53eb1b7..2ed46fe 100644
--- a/app/src/main/res/layout/activity_food_detail.xml
+++ b/app/src/main/res/layout/activity_food_detail.xml
@@ -190,7 +190,7 @@
>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
\ No newline at end of file
diff --git a/app/src/main/res/layout/item_review.xml b/app/src/main/res/layout/item_review.xml
new file mode 100644
index 0000000..58c0985
--- /dev/null
+++ b/app/src/main/res/layout/item_review.xml
@@ -0,0 +1,68 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file