I am trying to implement a feature in android which is used in Google Drive app. When you click on the info button of one of your file you get a sliding menu on the right. You can find the image here. I don't know if this is a custom implementation of Sliding Menu or if a class exists to do this. Appreciate if anyone could help me implement this. I want this on a button click and the list view should appear from right.
You need to use a DrawerLayout. The View you add with android:layout_gravity="end" will be at the right.
To open it on click, use drawerLayout.openDrawer(Gravitiy.END);.
I think you want to implement Navigation Drawer. You can find a sample ready to run application from Android Developer Tutorial
Related
Hi I want to make my ListView when swipe left to show more menu.
I googled and found this library https://github.com/daimajia/AndroidSwipeLayout .
but I want to use only with handle icon. It means only swipe on that icon to activate and show menu.
Because I use PagerView for tabs, so when swipe on the rest area it will change tab.
Can anyone guide me how to do it?
Or any Library is fine.
I think the best way is to use RecycleView with ItemTouchHelper
Here is similar question with answer RecyclerView Swipe with a view below it
I'm trying to create a navigation drawer like this:
facebook side chat
inside the navigation drawer,I need a login page instead of a list,like this:
side login page
I didn't find any helpful libraries for doing this (SlidingMenu was the library nearest to the solution) and I found just side menu with a list of elements.
Could you please suggest me a solution/library to use?
Thank you very much.
You can implement by overriding drawer slide listener. Here it is well explained https://stackoverflow.com/a/33588398/4804264
You can write a custom Viewgroup to control the View(your side menu).
And using the ValueAnimator, you can slide the menu from the side.
Custom components
Custom
Property Animation
I am looking to implement something similar to the slide-out pane shown in Google Maps and also in Twitter(Click the settings button after performing a search).
The pane displays itself at the bottom and the user can either click on it or swipe upwards to reveal more information.
I want to implement something similar but I am not sure how to proceed. I have a simple ListView and when a user clicks an item, the slide-out pane should appear. How would I go about doing this?
I was thinking of using a context menu but according to the official docs, icons are not allowed to be placed there.
Check out AndroidSlidingUpPanel. It should be perfect for your needs. It can be also achieved using SlidingDrawer.
You can use a navigation drawer to make a slider menu.
You can see a good example here:
http://www.androidhive.info/2013/11/android-sliding-menu-using-navigation-drawer/
Im trying to achieve the neat menu icon ui like in all the new google apps,
im talking about the "hotdog" menu icon that animates when it is pressed, sliding a bit to the left when the sliding menu slides to the right.
Im using the android SlidingMenu library btw.
Any suggestions?
It appears that SlidingMenu library wont do it...
if anyone else is looking for an answer i am recommending to use the native library: NavigationDrawer, here's a tutorial:
http://www.androidhive.info/2013/11/android-sliding-menu-using-navigation-drawer/
Enjoy :)
So for Android's LinkedIn app, there is a navigation bar and once you click on the LinkedIn logo, a subnav will drop down. If you click the logo again it will go back up.
What is this referred to as for Android? What steps would I need to take to produce a similar effect?
I'm no so much looking for someone to do it for me, rather point me in the right direction.
Thanks.
Please see this tutorial on how to create a QuickAction dialog. If you scroll down to the bottom it has more of a "menu" type action dialog.