Currently i am developing an app that needs to have a sliding menu but inside that sliding-menu i want to have a preference activity style like , for example like YouTube app sliding menu style.
I am working with "jfeinstein" sliding menu because i didn't found something else to make the sliding menu and it's not offering a way to make a activity in the sliding menu.
So is there another sliding menu library or is there actually a way to do what i described?
Thanks
Related
I would like to create a sliding menu that pushes the activity to the right and makes it smaller. Something like this:
I found this Floating Drawer for iOS on github.
It's Reside Menu You can get this from here.
Hi i have implemented a Android sliding menu using navigation drawer with help of WWW.androidhive.info tutorial.
now my question is , is it possible to have sub menus in the sliding menu?
i mean for example assume i have four options in sliding menu "Facebook","twitter","watsup","android". and my question is , if i press on Facebook a sub menu must come in down, with in that i must have some other options , like "photos","places" etc..
when i click on Facebook a drop down menu must appear by pushing down the other items(twitter,watsup,android) in the sliding menu.
(i want sub menu should be shown in the same sliding menu. not in a new sliding menu)
Why not use the expandable list views in the drawer layout : http://developer.android.com/reference/android/widget/ExpandableListView.html
Use ExpandableListView instead of ListView in the navigation drawer.
I have an app in which I would like a slide out menu. It would not be in control of all the apps settings, just a simple menu with a few options. I will still have a settings menu so I don't want to get rid of that. I would like to activate the slide menu with an icon in one of the corners of the app. On the button click I would like to slide out this simple menu (not settings).
Should I use the Navigation Drawer? My first thought is no since I am not controlling any sort of navigation from within this slider. Navigation Drawer also has some default behaviors that I am not sure you can override, i.e. slide from left side of screen to access, click app icon to access, click settings menu to access.
Am I supposed to use a Navigation Drawer and try and override a bunch of behavior or is there another android pattern that I can use?
as I pursue my study on android app development I came across this app from apple and I was wondering if, is there a way to imitate the navigation drawer in this screen shot?!
See it's an expandable navigation drawer. a list view with some items that are expandable. Is there an actual way to imitate this on android?
Thank you very much again for all of your help.
You can recreate that drawer.
You can use the ExpandableListView within the Navigation Drawer. And of course you'll have to create your own parent and child item layouts for the listview. As well as appropriate styling. You can use tutorials to do this, first create the navigation drawer, then create the expandablelistview and put it within the navaigation drawer layout.
I'd also like to note on that screen shot, the drawer is incorrect. It should slide out below the action bar, over-top of the activity (like in the link). It should not slide the entire application window to the right like how some apps do.
Use a Custom ListView for this, see here for that: How To Create A Custom Listview - Android Example
Also, you will have to create specialized buttons that have a different look than standard holo buttons, see here for that: How to create custom button in Android using XML Styles
Finally, I do not believe it is possible to directly clone the navigation drawer, as the app you showed doesn't have an open sourced app (as far as I know).
I am using both actionbarsherlock and slidingmenu objects
the point is, I want my menu - which is sliding to do the following
push the currently visible screen aside, along with its actionbar
the fragment that is displayed inside the menu to have a different actionbar
how do i do that?
I've set everything to make 1 work
but the fragment is missing the menu - how to add it ?
You can't have multiple ActionBar in the same activity.
Best thing you could probably do, is not make the ActionBar slide with the menu, while starting/finishing an ActionMode when you open up/close the sliding menu.
Or if you really want to slide the ActionBar, then simply create a view in the menu fragment that will looks like an action bar.
You probably can use a custom layout in your actionbar and manipulate it by adding an animation so that it looks like the actionbar slides out and it is pushed by another actionbar when the menu slides in. The object would be the same, but the user perception will be of a sliding action bar pushing away the previous one.