I want to put settings in left side of screen.
There will be switcher, listviews and textviews.
In result I need like this example:
Is it possible and how I can start with?
You can use Sliding Menu Library to give such effect...
You can get the code from here.
You can also refer this link.
It's possible, and you can implement it using the Navigation Drawer which comes with android support library.
You must check out the Ribbon Menu
1) What's the Purpose
Ease of Access: Allow easy access to a menu that slides in and out
Ease of Implementation: Update the same screen using minimal amount of code
Independency: Does not require support libraries such as ActionBarSherlock
Customization: Easy to change colors and menus
2)What's New
Changed the sliding animation to match Facebook and Google+ apps
Added standard ActionBar (you can chose to use ActionBarSherlock)
Used menuitem to open the Menu
Added ability to update ListView on main Activity
Added 2 ListViews to the Menu, similiar to Facebook and Google+ apps
Added a AutoCompleteTextView and a Button as well to show examples of implemenation
Added method to allow users to hit the 'back button' to hide the menu when it is open
Allows users to interact with background(main ListView) and the menu at the same time unlike the Facebook and Google+ apps!
OR
You can also try out with Sliding Menu
You have to add one library file slider.jar into your project and follow this example for the same :
http://www.oodlestechnologies.com/blogs/Facebook-Style-Slide-Menu-In-Android
Related
I need a navigation bar that doesn't slideIn above the current view (the usual overlapping stype), instead it should be as in new ebay app (as if scrolling the wallpaper in homescreen with more than one page). Is it possible to add this effect to material-design-navigation-view? How do I do it?
You can use Sliding Menu Library for your requirement. Here is the link to that library
Sliding Menu Library
And if you are using Android Studio then see this link to add it in your project
Importing in Android Studio
There is no default way to really do this. However, this thread of StackOverflow will help you: push activity on the right when open drawer
Another GitHub library that may suit your need is: Material Drawer. You can download the demo on Google Play Store (same name). A similar approach is the Persistent Header Drawer
I've just decided to add swipe views on my android application. I searched for them on the web for tutorials but I found nothing but deprecated actionBar tutorials. Event in official Creating Swipe View from android developer is showing me that this is deprecated method for this purpose. So tell me guys - what's the best way to make a swipe tab view?
I think you can use the templates included with ADT.
Just create new "Android Application Project" and select "tabbed activity" during wizard flow, and select "Navigation Style" = "swipe views" on the last wizard screen.
You can either develop your application on base of code you received, or study it to understand how swipe and tabs are working together.
Action bar tab is now depreciated because of new toolbar facility . You can use now Sliding tab https://developer.android.com/samples/SlidingTabsBasic/src/com.example.android.common/view/SlidingTabLayout.html for creating swipe views using view pager
Use a Sliding tab Layout.
Get the Sliding Tab Layout & Sliding Tab Strip java file in the following link.
https://github.com/google/iosched/tree/master/android/src/main/java/com/google/samples/apps/iosched/ui/widget
Copy the 2 into your project and follow the follwing tutorial.
Note: Dont copy the one in the developers android website its not updated as far as I know
https://www.youtube.com/watch?v=Fl0xMuo10yA&index=26&list=PLonJJ3BVjZW6CtAMbJz1XD8ELUs1KXaTD
I had the same problem.
How to implement android navigation drawer like this?
TopLevelView1 ~ TopLevelView4 can select and no children
TopVevelView5 can collaspe
My question is that if my group structure like this for example
All
Stared
Category
----mp3
----txt
----doc
----pdf
when I select all then show all file.
when I select stared then show stared file only.
when I select mp3 then show only mp3 files.
and Category can expand and collapse.
For navigation:
Alternative 1:
Sliding Menu, which I would definitely go with. Even used by popular application like LinkedIn and Foursquare and easy to implement and use. Full explanation and example source codes: SlidingMenu - GitHub
Alternative 2:
Android Navigation Drawer. If you want to fully customise everything yourself without using any libraries, this is your option. You can check codes and how to do it from Android Developers website: Creating a Navigation Drawer
View inside your navigation drawer / sliding menu:
Alternative 1:
Android default ExpandableListView. Links: Android Developers , androidhive
Alternative 2:
AnimatedExpandableListView, which is implemented from ExpandableListView, but when an item is clicked, the expand is done with a smooth animation which you may prefer to use for a better look. AnimatedExpandableListView
I make footer that consists images.I want when click on image of footer menu opens like this.(Android)
First and foremost, this is not web and you need to look at methods to achieve this natively in Android.
Read up Android Design Guidelines
Try to use sub-menu, check ActionBarSherlock
I have written an Android App, which uses ViewPager to swipe between different Views of my app. This works very well, but the animation isn't like I want it to be.
The current view swipes out to the right, and the new enters from left. But I want the current view to leave like a layer to the right, so that the user can see the new view, which was "under" the current view. I want the "old" view to stay at the right side, so it can return onclick.
The current Evernote App uses this behaviour. I attached a screenshot. Thanks ;-)!
http://i.stack.imgur.com/2RlT4.jpg
You can refer Sliding-Sidebar. This has Facebook like slideout effect.
Quick reference of the above library :
You can download the Android UI Patterns app. from the Google Play and see the effects you require. Its inside ActionBar & Dashboard --> gui-sliding-sidebar.
you should use the fly in app menu here below demo project will help you
https://github.com/korovyansk/android-fb-like-slideout-navigation
I would suggest you use SlidingMenu It is a very good and solid library with an active developer. It works well with ActionbarSherlock too which is great for backwards compatibility.
SlidingMenu
An Android library that allows developers to easily create slide-in menus like in the Spotify and Facebook applications.