navigation drawer should is visible. If you had many collapsible items, consider collapsing all items, and the user to see the top-level views in their enTirety. The status of the drawer navigation can be collapsed by yourself. In general, all top-level item in the drawer navigation must be visible.If you have a lot of collapsible sub-item, consider folding the
, and countersYou can structure navigation targets by adding titles. The titles aren't interactive, but just organize navigation targets into functional topics. If you had many navigation targets, use titles to orient the user within the drawer.Navigation targets can has optional leading icons as well as trailing counters. The counters to inform users on a changed state of data in the corresponding view.Use the titles and icons to organize your drawer.Collapsible navigation items are split. Use
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
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
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 button click, the menu slide out, and feel able to put a lot of things.
Th
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
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
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
IOS development drawer effect implementation, ios development drawer
The famous third-party class library in iOS is PPRevealSideViewController. When it comes to third-party class libraries, we naturally think of our CocoaPods. In today's blog, we use CocoaPods to introduce PPRevealSideViewController, and then use code and storyboard in our project to make drawer
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
(!drawerOpen); return super.onPrepareOptionsMenu(menu); }
The icons are not the same when you expand or close them:
public void onCreate(Bundle savedInstanceState) { ... mDrawerLayout = (DrawerLayout) findViewById(R.id.drawer_layout); mDrawerToggle = new ActionBarDrawerToggle( this, /* host Activity */ mDrawerLayout, /* DrawerLayout object */ R.drawabl
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.