Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Android App with Animated Bottom Navigation 📱

🌟 Overview

This project explores and implements an animated bottom navigation bar in an Android app using fragments. The AnimatedBottomBar component facilitates seamless and visually appealing navigation between different sections of the app, each represented by a fragment. The app also showcases various layout managers including Grid Layout Manager (horizontal and vertical), and Linear Layout Manager (horizontal and vertical).

🛠️ Project Structure

The project includes a MainActivity that utilizes the FragmentManager to manage navigation between different fragments using an AnimatedBottomBar. Each fragment is designed to represent a specific part of the user interface with distinct layout managers.

Key Components

  • MainActivity:

    • Initializes the app and controls navigation between fragments.
    • Uses the FragmentManager to manage fragment transactions, such as addition, replacement, and removal.
    • Handles AnimatedBottomBar interactions to switch between fragments.
  • Animated Bottom Bar:

    • Defined in bottom_menu.xml, it includes items for Grid Horizontal, Grid Vertical, Linear Horizontal, and Linear Vertical.
  • Fragments:

    • GridHorizontalFragment: Displays a Grid Layout Manager (horizontal).
    • GridVerticalFragment: Displays a Grid Layout Manager (vertical).
    • LinearHorizontalFragment: Displays a Linear Layout Manager (horizontal).
    • LinearVerticalFragment: Displays a Linear Layout Manager (vertical).
  • Buttons:

    • toadd: Button to add items to the list.
    • remove: Button to remove items from the list.
  • Divider:

    • Utilized to separate items within the RecyclerView in different fragments.

📷 Screenshots

📹 Video

video.mp4

🚀 Implemented Features

The project demonstrates the following functionalities:

  • Dynamically adding fragments to the layout using FragmentManager.
  • Using FragmentTransaction to handle fragment transactions.
  • Implementing an animated bottom navigation bar to switch between different fragments.
  • Utilizing RecyclerView with different layout managers:
    • Grid Layout Manager (horizontal and vertical).
    • Linear Layout Manager (horizontal and vertical).
  • Adding dividers to separate items in the RecyclerView.
  • Adding and removing items from the list using the toadd and remove buttons.

🛠️ Dependencies

  • RecyclerView
  • CardView
  • Animated-Bottom-Navigation-with-RecyclerView-and-CardView
  • Additional libraries as needed for functionality.

📌 License

This project is open-source and available under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages