I need to create a slide menu for my app. So I search and follow the tutorials at this link. And to make the main content slide from left to right along with the slide menu, I following this link. But I got the result like below:
I dont know why the menu icon is not on the left side of action bar. Even when I slide the menu to the right or not, It just stay there, just pushes the Application icon and the title to the right, even out of the action bar. I tried to resize the menu icon to very small but It does not work. Please help me. Thank in advance.
Related
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.
I want to show the action bar navigation icon on the Right side of the ActionBar [instead of the default left side].
Also I need to have the same slide in animation of the Navigation Drawer icon as in the Gmail and Google plus application.
Is there any way of achieving that animation on the right side easily.
Any kind of help or suggestion is appreciated.
Thanks in advance!
This is how I've implemented the right navigation drawer. Just need to open and close the drawer based on Gravity. In this example they use Gravity.RIGHT, I use Gravity.END. I'm not sure which one is right or wrong. Hope this helps.
This link for ActionBar animation provides some good information, and should give a good base for doing the navigation drawer icon animation.
I am new to android dev. I have a problem of adding a small tab on my left drawer.
Because it may be hard for user to detect that I have a left drawer so I want to add a tab to let people notice.
Here's the screenshot of my app.enter image description here
I hope it can have a small tab like this
Can you give me some hint to start?
You can just put a view on the left of your layout using relative layout and on click of that view you can just open the drawer by calling:
mDrawerLayout.openDrawer(Gravity.START)
This will open the drawer in the same way it open when action bar icon is clicked.
There are more than 10 menus in my application. If I open this application in android mobile, only 5 menus appear; I than have to swipe from right to left for the remaining menus to appear. Here I have used swipe keyword. But it hasn't worked. Please see my below code:
Scenario Outline: Go to file manager home page
Then I wait for progress
Then I swipe right
Then I select the "Create" tab
Please let me know if anyone knows the solution to this problem. Thanks in advance.
I am not sure if I understand your question correctly, you have some menu items that are not visible on the action bar and you want to click those menu items?
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.