Skip to content

Commit

Permalink
Merge pull request #37 from mohand3del/feature/aboutapp
Browse files Browse the repository at this point in the history
Finished the About App screen
  • Loading branch information
GreenVenom77 authored Aug 29, 2024
2 parents d831ed9 + c9183d8 commit 163431c
Show file tree
Hide file tree
Showing 2 changed files with 129 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
package com.example.recipeappiti.aboutapp.view

import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.example.recipeappiti.R

class AboutAppFragment : Fragment() {
override fun onCreateView(
inflater: LayoutInflater, container: ViewGroup?,
savedInstanceState: Bundle?
): View? {
// Inflate the layout for this fragment
return inflater.inflate(R.layout.fragment_about_app, container, false)
}
}
111 changes: 111 additions & 0 deletions app/src/main/res/layout/fragment_about_app.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/constraintLayout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="16dp"
tools:context=".aboutapp.view.AboutAppFragment">

<androidx.core.widget.NestedScrollView
android:id="@+id/scrollView"
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_marginTop="16dp"
android:layout_marginBottom="16dp"
android:background="@android:color/white"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">

<!-- App Title -->
<TextView
android:id="@+id/titleTextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Recipe App"
android:textAppearance="@style/TextAppearance.AppCompat.Large"
android:textSize="30sp"
android:textStyle="bold"
android:paddingBottom="16dp"
android:layout_gravity="center_horizontal"/>

<!-- Overview Section -->
<TextView
android:id="@+id/overviewTextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Overview"
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
android:textStyle="bold"
android:paddingBottom="8dp" />

<TextView
android:id="@+id/overviewDescriptionTextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="The Recipe App offers a seamless cooking experience with features designed to make your culinary journey enjoyable and easy. From discovering new recipes to saving your favorites, the app is built to enhance your time in the kitchen."
android:textAppearance="@style/TextAppearance.AppCompat.Body1"
android:paddingBottom="16dp" />

<!-- Key Features Section -->
<TextView
android:id="@+id/featuresTextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Key Features"
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
android:textStyle="bold"
android:paddingBottom="8dp" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="• User Authentication: Securely log in or register to keep your data safe.\n\n• Favorites: Mark recipes you love and quickly access them anytime.\n\n• Recipe Search: Easily find recipes by name, ingredient, or category.\n\n• Detailed Recipe View: Get comprehensive details about each recipe, including ingredients, instructions, and nutritional info."
android:textAppearance="@style/TextAppearance.AppCompat.Body1"
android:paddingBottom="16dp" />

<!-- Special Features Section -->
<TextView
android:id="@+id/specialFeaturesTextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Special Features"
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
android:textStyle="bold"
android:paddingBottom="8dp" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="• Interactive Splash Screen: A visually appealing introduction to the app, powered by Lottie animations.\n\n• YouTube-Like Video Player: Watch recipe tutorials directly within the app, with a mini player that stays on screen while you browse other content.\n\n• Personalized Experience: The app remembers your preferences and customizes your experience based on your likes and cooking habits."
android:textAppearance="@style/TextAppearance.AppCompat.Body1"
android:paddingBottom="16dp" />

<!-- User Navigation Section -->
<TextView
android:id="@+id/userNavigationTextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="User Navigation"
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
android:textStyle="bold"
android:paddingBottom="8dp" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="• Smooth Navigation: Effortlessly switch between different sections of the app using the Bottom Navigation component.\n\n• Login Security: Once you're logged in, you won't accidentally navigate back to the login screen.\n\n• Quick Access: Start directly on the Home screen if you've logged in before, with your preferences intact."
android:textAppearance="@style/TextAppearance.AppCompat.Body1"
android:paddingBottom="16dp" />
</LinearLayout>
</androidx.core.widget.NestedScrollView>
</androidx.constraintlayout.widget.ConstraintLayout>

0 comments on commit 163431c

Please sign in to comment.