I am using ActionBarSherLock and SlidingMenu liberary to implement sliding menu.
But the problem is I want to add this sliding menu button leaving some space from top. I want the whole actionbar and this button should leave some space above. Is this Possible ? If yes How ?
Related
I am developing an app having redial menu,which shows different buttons.Lots of demo of redial menu are available,But i want to show the redial menu from top right corner.please help or any suggestion.
The standard button placement for ActionBar is the top-right corner. If you add button to your ActionBar using the standard menu metaphor, you can place a button to do whatever you want in the top right corner.
I want to implement sliding Menu like below images ,I am using SlidingPaneLayout to create Left Sliding Menu but How i can make it to behave like below images.
Now when some one close it by Either top left icons click or by drag to left it should be close like below shown image.
This image are just for giving idea of what i am try to do in my sliding Menu .
Let me known that some known how to achieve such in android.
Is it possible to use the NavigationDrawer as menu coming from top to bottom instead of left to right?
This is umano app's sliding up panel, I used this in my app, You can easily convert it to top to bottom
https://github.com/umano/AndroidSlidingUpPanel
Yes , ofcourse you can but it may create a confusion between the notification screen of android OS and your apps navigation drawer so its a good practice to put your navigation drawer either from left side or from right .
for more info you can have a look at this articles
http://developer.android.com/training/implementing-navigation/nav-drawer.html
http://developer.android.com/design/patterns/navigation-drawer.html
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.
I want to open a sliding menu when we click on top button. Please check the below image. when i click on red marked image/button then how can i open a sliding menu/list items as you can see in 2nd image.
When this menus gets open then main window get slide toward right side of the screen where small part of the main screen will be visible.
I am not sure if this menu is a list of view!! Please help me out.
The best Library doing that is SlindingMenu from jfeinstein10 on Github.
Design your layout with two panels. Left panel with visibility GONE. And then in onClick method of your button at top-right, make visibility of left panel VISIBLE. You can create a Animation to open left panel smothly.