-level interface, and in the current interface, next to the app icon is an identification that represents the navigation of the drawer. All interfaces associated with an item in the drawer navigation, when displayed, are displayed next to the app icon in the Actionbar to indicate the identity of the current interface. Clicking on the app's icon will cause the drawer
How to Create a Drawer Navigation bar (Navigation Drawer) and navigationdrawerIf you need to reprint, please indicate the source: http://www.cnblogs.com/ghylzwsb/p/5831759.htmlcreate a navigation bar with a drawer
The drawer navigation bar is displayed on the left edge of the screen and is the main navigation option Pa
Let's focus on the Android drawer navigation Navigationdrawer. First of all to perceptual the effect of this bar:
Looking at a lot of applications, I think this slippery drawer effect of the menu is very good. Do not have to switch to another page, also do not have to press the menu hardware button, directly in the interface of a
Original address http://developer.android.com/training/implementing-navigation/nav-drawer.html
Create drawer navigation
The navigation drawer is inThe application main navigation option panel at the left edge of the screen. it is hidden most of the time, but it is displayed when you slide from the left side of the screen with your fingers, or when you click the application icon on the toolbar at the top of
On the day of Google Io, the Android team updated the support library and added several more important features to the support library of the new version (V13).Adds a drawerlayout control that supports the creation of Navigation drawer mode. Can be set from the left side of the menu or the right side, can also left the menu to exist.Add Slidingpanelayout controls to support the summary, detail interface modes on various screens. such as Gmail mailing
course, first introduce our third-party class library in the pch file, and then use it.
1. drag out the View Controller we want to use on the storyboard, click the button on the main interface to display the navigation page in the form of a drawer, then navigate to each interface on the navigation page, and then return to the main interface from each page
2. initialize PPRevealSideViewController in AppDele
1. Create a drawer Layout
UseDrawerLayoutAs the interface root control. In drawerlayout, the first view is the main content of the current interface, and the second and third views are the drawer menu content. If the current interface only needs one drawer menu, the third view can be omitted.
In the following example, drawerlayout contains two views. The first fr
Research on the drawer effect of several github third-party libraries, drawer github
In the selection of the new version of the company's project, the drawer effects to be used in the leading flight were investigated. The main reason is that the ECS library used in the old project is not very good. Currently, we have conducted research on the third-party librarie
NavigationDrawer navigation drawer) is a panel that transitions from the left edge of the screen and displays the main navigation operations of the app.
Show Navigation Drawer
You can slide the slider from the left edge of the screen or click the icon on the ActionBar of the app to display the Navigation Drawer to the screen.
As an extension of NavigationDrawer,
Panel is a very good drawer control, panel drawer Control
Panel is a good drawer Control
A very good drawer control panel, which can control the drawer size, pop-up size, drawer placement and many other attributes, can be flexib
Google updated its Google + app in July this year, adopting a new approach to navigation and abandoning navigationdrawer. In the moment, there is a series of discussions about the pros and cons of Navigationdrawer, but for developers we just have to take care of what we need to achieve or learn, 2012 YouTube, Facebook, Path and other applications have used navigationdrawer such a way of navigation, last year Google in order to rectify the increasingly mixed Android, designed the
A side pane is needed for a project that I recently worked on. I noticed this stuff, but it was only released in December, with less information in China. I can't find anything. Let's look at an example from the official website. We can see from the example that we can modify the project in our own project and keep reporting errors for the project, without understanding the principle, finally, the project cannot run. I simply took a closer look at this drawe
system navigation back button to complete, although and the current mainstream design is somewhat different, But logically there is no conflict at all, the most "standard" drawer navigation app.
Know (IOS)
and the iOS platform, for example, it is only in the top-level view (such as the navigation listed in the first page, found, I focus on the first column) under the Actionbar to show the nav
1. Custom s0000ingdrawer drawer Effect
Effect 1
Effect 2
Effect 3
Androidmanifest. xml
Wrapsliding. xml
Slidingdrawerdemoactivity. Java
package com.cn.npass.nj;import android.app.Activity;import android.os.Bundle;public class SlidingDrawerDemoActivity extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setCont
quick close drawer[Drawercontroller Setopendrawergesturemodemask:mmopendrawergesturemodeall];[Drawercontroller Setclosedrawergesturemodemask:mmclosedrawergesturemodeall];Self.window.rootViewController = Drawercontroller;to this, the drawer root view controller is added to the window's root view controller, running the program, you can use gestures to control the drawer
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.