diff --git a/app/build.gradle b/app/build.gradle index 7181af4..2c122c2 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -44,4 +44,9 @@ dependencies { implementation 'com.squareup.retrofit2:converter-gson:2.9.0' implementation 'com.github.denzcoskun:ImageSlideshow:0.1.0' + + implementation 'com.makeramen:roundedimageview:2.3.0' + implementation 'com.github.smarteist:autoimageslider:1.4.0' + implementation 'com.github.bumptech.glide:glide:4.14.2' + annotationProcessor 'com.github.bumptech.glide:compiler:4.14.2' } \ No newline at end of file diff --git a/app/src/main/res/drawable/baseline_favorite_border_24.xml b/app/src/main/res/drawable/baseline_favorite_border_24.xml new file mode 100644 index 0000000..d28dce0 --- /dev/null +++ b/app/src/main/res/drawable/baseline_favorite_border_24.xml @@ -0,0 +1,5 @@ + + + diff --git a/app/src/main/res/drawable/basket_icon.xml b/app/src/main/res/drawable/basket_icon.xml new file mode 100644 index 0000000..4c918ae --- /dev/null +++ b/app/src/main/res/drawable/basket_icon.xml @@ -0,0 +1,16 @@ + + + + + + + diff --git a/app/src/main/res/drawable/burgerking.png b/app/src/main/res/drawable/burgerking.png new file mode 100644 index 0000000..40cb56d Binary files /dev/null and b/app/src/main/res/drawable/burgerking.png differ diff --git a/app/src/main/res/drawable/dominopizza.png b/app/src/main/res/drawable/dominopizza.png new file mode 100644 index 0000000..1e54e14 Binary files /dev/null and b/app/src/main/res/drawable/dominopizza.png differ diff --git a/app/src/main/res/drawable/food.jpg b/app/src/main/res/drawable/food.jpg new file mode 100644 index 0000000..ba112cc Binary files /dev/null and b/app/src/main/res/drawable/food.jpg differ diff --git a/app/src/main/res/drawable/mcdonals.png b/app/src/main/res/drawable/mcdonals.png new file mode 100644 index 0000000..a7a687c Binary files /dev/null and b/app/src/main/res/drawable/mcdonals.png differ diff --git a/app/src/main/res/drawable/pizzahut.png b/app/src/main/res/drawable/pizzahut.png new file mode 100644 index 0000000..02d9796 Binary files /dev/null and b/app/src/main/res/drawable/pizzahut.png differ diff --git a/app/src/main/res/drawable/subway.png b/app/src/main/res/drawable/subway.png new file mode 100644 index 0000000..1d599e3 Binary files /dev/null and b/app/src/main/res/drawable/subway.png differ diff --git a/app/src/main/res/layout/fragment_home.xml b/app/src/main/res/layout/fragment_home.xml index 5c445fa..a8d9219 100644 --- a/app/src/main/res/layout/fragment_home.xml +++ b/app/src/main/res/layout/fragment_home.xml @@ -86,6 +86,80 @@ app:layout_constraintStart_toStartOf="parent" /> + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/list_foods.xml b/app/src/main/res/layout/list_foods.xml new file mode 100644 index 0000000..4cb8dc9 --- /dev/null +++ b/app/src/main/res/layout/list_foods.xml @@ -0,0 +1,94 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/list_restaurant.xml b/app/src/main/res/layout/list_restaurant.xml new file mode 100644 index 0000000..43555e9 --- /dev/null +++ b/app/src/main/res/layout/list_restaurant.xml @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index dd422fc..f3e8de1 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -30,4 +30,6 @@ mật khẩu mới Hello, Guest! Recommend for you + Restaurant + The most popular food \ No newline at end of file diff --git a/gradle.properties b/gradle.properties index 3e927b1..92b9117 100644 --- a/gradle.properties +++ b/gradle.properties @@ -18,4 +18,5 @@ android.useAndroidX=true # Enables namespacing of each library's R class so that its R class includes only the # 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 \ No newline at end of file +android.nonTransitiveRClass=true +android.enableJetifier=true \ No newline at end of file diff --git a/settings.gradle b/settings.gradle index 8fcebbb..fd51f10 100644 --- a/settings.gradle +++ b/settings.gradle @@ -9,6 +9,7 @@ dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositories { google() + jcenter() mavenCentral() maven { url 'https://jitpack.io' } }