Open iamsh4shank opened 3 years ago
i think i can do this...can i try :)
Yeah sure @shivjyotigarai
will the navigation drawer contain the Doctor, Dashboard and Hospital fragment @robustTechie
Yeah
hi @robustTechie I tried implementating a custom navigation drawer...by hiding the Action Bar in the main activity and using a toolbar for the same...but while implementating the design dependancies ie com.android.support:design:28.0.0
i am getting the following error
The following classes could not be found:
- android.support.design.widget.NavigationView (Fix Build Path, Edit XML, Create Class)
- android.support.v4.widget.DrawerLayout (Fix Build Path, Edit XML, Create Class)
- android.support.v7.widget.Toolbar (Fix Build Path, Edit XML, Create Class)
Due to this, the toolbar cant be implemented...plz look at it once :)...... Can it be done without hiding the Action Bar??
If i add the latest dependancy, com.android.support:design:28.0.0
its showing this
Version 28 (intended for Android Pie and below) is the last version of the legacy support library, so we recommend that you migrate to AndroidX libraries when using Android Q and moving forward. The IDE can help with this: Refactor > Migrate to AndroidX...
Hey @shivjyotigarai what I mean by custom bottom nav is, you can add some animations or change the shape of bottom nav
Hey @shivjyotigarai what I mean by custom bottom nav is, you can add some animations or change the shape of bottom nav
ok..working on it @robustTechie
hi @robustTechie can u plz mention a few libraries that can be used...like I tried using the Chip Navigation Bar but it doesnt have a proper support to Navigation Controller hence couldnt use it
you can use any library similar to the chip navigation :)
error: no suitable method found for setupWithNavController(ChipNavigationBar,NavController)
NavigationUI.setupWithNavController(navView, navController);
^
method NavigationUI.setupWithNavController(Toolbar,NavController) is not applicable
(argument mismatch; ChipNavigationBar cannot be converted to Toolbar)
method NavigationUI.setupWithNavController(NavigationView,NavController) is not applicable
(argument mismatch; ChipNavigationBar cannot be converted to NavigationView)
method NavigationUI.setupWithNavController(BottomNavigationView,NavController) is not applicable
(argument mismatch; ChipNavigationBar cannot be converted to BottomNavigationView)
@robustTechie this one I am referring to..
Yeah you need to manage it, you need to change it a little bit
Yeah you need to manage it, you need to change it a little bit
hmm...working on it ..thx
As the app contains a normal navigation bar but we can change it to a custom navigation bar using some good libraries.