Open aj019 opened 7 years ago
@IadityaM There is a problem with the navigation bar we need to convert every activity into a fragment for it to work.
A navigation bar or a navigation drawer? A custom app bar is easy enough and doesn't require and fragments, same goes with the navigation drawer. none of our activities discusses yesterday had the bottom/top - navigation bar.
I am talking about the navigation drawer which slides in fron the left. When the user clicks on the navigation drawer item a fragment is loaded inside the main frame. But currently all are activities.
@IadityaM I will work on the np tasks for now.
Navigation drawer doesn't require fragments man. the drawer in itself is a recurring fragment that needs to be setup with each activity it has to be used with.
No buddy that is not how you make a navigation drawer. If you have 7 items in your navigation drawer are you going to add the Navigation drawer fragment in each fragment ? You just need to create a single activity with a Navigation View and Drawer layout and a Frame layout and you just replace the Frame with the fragment. This is based on the Material design Guideline.
Here are links to support this http://www.android4devs.com/2014/12/how-to-make-material-design-navigation-drawer.html https://www.youtube.com/watch?v=zWpEh9k8i7Q
So please take a look into this.
I'll integrate that. the Login UI is done.
The app needs a navigation bar with which the user can navigate through the app.