mirror of
https://github.com/Nezumi-2711/Foodify.git
synced 2026-09-22 13:38:41 +00:00
82 lines
3.5 KiB
XML
82 lines
3.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
tools:context=".Activity.FavoriteFoodActivity"
|
|
android:id="@+id/list_favorite_food_view"
|
|
>
|
|
|
|
<androidx.core.widget.NestedScrollView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:id="@+id/nestedScrollView"
|
|
>
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<ImageView
|
|
android:id="@+id/back_image"
|
|
android:layout_width="20dp"
|
|
android:layout_height="20dp"
|
|
android:src="@drawable/back_button"
|
|
android:layout_marginStart="10dp"
|
|
android:layout_marginTop="25dp"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
<TextView
|
|
android:id="@+id/text_view_1"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="Favourite Food"
|
|
android:fontFamily="@font/bebas"
|
|
android:textColor="@color/black"
|
|
android:textSize="40sp"
|
|
android:layout_marginTop="20dp"
|
|
android:layout_marginStart="10dp"
|
|
app:layout_constraintTop_toBottomOf="@id/back_image"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
/>
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/recycler_view_favorite_food"
|
|
tools:listitem="@layout/item_food_favorite"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="15dp"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/text_view_1"
|
|
/>
|
|
|
|
<ProgressBar
|
|
android:id="@+id/progress_bar"
|
|
android:indeterminateTint="@color/primaryColor"
|
|
app:layout_constraintTop_toBottomOf="@id/recycler_view_favorite_food"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
/>
|
|
|
|
<TextView
|
|
android:id="@+id/end_of_list_text"
|
|
android:text="End of list"
|
|
android:fontFamily="@font/opensans"
|
|
android:textColor="@color/grayLight"
|
|
android:visibility="gone"
|
|
app:layout_constraintTop_toBottomOf="@id/progress_bar"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
/>
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
</androidx.core.widget.NestedScrollView>
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |