From a95c0b306ba9ca17ffcb1775afca8250b7280489 Mon Sep 17 00:00:00 2001 From: Nezumi <123229563+Nez27@users.noreply.github.com> Date: Tue, 14 Feb 2023 10:33:19 +0700 Subject: [PATCH] Fix some UI --- app/src/main/res/layout/fragment_home.xml | 11 ++++++----- app/src/main/res/layout/list_foods.xml | 10 ++++++---- app/src/main/res/layout/menu.xml | 4 ++-- app/src/main/res/values/strings.xml | 7 +++++++ gradle.properties | 3 ++- 5 files changed, 23 insertions(+), 12 deletions(-) diff --git a/app/src/main/res/layout/fragment_home.xml b/app/src/main/res/layout/fragment_home.xml index 0efc82f..fd0103d 100644 --- a/app/src/main/res/layout/fragment_home.xml +++ b/app/src/main/res/layout/fragment_home.xml @@ -37,7 +37,7 @@ @@ -76,7 +77,7 @@ android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginStart="10dp" - android:layout_marginEnd="20dp" + android:layout_marginEnd="10dp" android:layout_marginTop="10dp" app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" android:orientation="horizontal" @@ -92,7 +93,7 @@ android:layout_marginTop="5dp" android:textColor="@color/black" android:textStyle="bold" - android:layout_marginStart="20dp" + android:layout_marginStart="10dp" android:textSize="18sp" android:layout_width="wrap_content" android:layout_height="wrap_content" @@ -105,11 +106,11 @@ android:layout_width="0dp" android:layout_height="100dp" android:layout_marginStart="10dp" - android:layout_marginEnd="20dp" + android:layout_marginEnd="10dp" android:layout_marginTop="10dp" app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" android:orientation="horizontal" - android:contentDescription="List Food" + android:contentDescription="@string/description" tools:listitem="@layout/list_restaurant" app:layout_constraintTop_toBottomOf="@id/restaurant_text" app:layout_constraintStart_toStartOf="parent" diff --git a/app/src/main/res/layout/list_foods.xml b/app/src/main/res/layout/list_foods.xml index a53aa23..937bf9c 100644 --- a/app/src/main/res/layout/list_foods.xml +++ b/app/src/main/res/layout/list_foods.xml @@ -33,19 +33,21 @@ diff --git a/app/src/main/res/layout/menu.xml b/app/src/main/res/layout/menu.xml index 2cc64e9..e5d8ed9 100644 --- a/app/src/main/res/layout/menu.xml +++ b/app/src/main/res/layout/menu.xml @@ -7,8 +7,8 @@ Recommend for you Restaurant The most popular food + Title + description + Home + Location Icon + Food Title + Basket Icon + Favourite Icon \ No newline at end of file diff --git a/gradle.properties b/gradle.properties index 92b9117..57fae1d 100644 --- a/gradle.properties +++ b/gradle.properties @@ -19,4 +19,5 @@ android.useAndroidX=true # resources declared in the library itself and none from the library's dependencies, # thereby reducing the size of the R class for that library android.nonTransitiveRClass=true -android.enableJetifier=true \ No newline at end of file +android.enableJetifier=true +org.gradle.unsafe.configuration-cache=true \ No newline at end of file