CustomMenu

Additional

Language
Java
Version
V0.0.4 (Sep 13, 2015)
Created
Aug 25, 2015
Updated
Sep 14, 2015 (Retired)
Owner
ToviZhao (flyfei)
Contributors
Huqiu Liao (liaohuqiu)
ToviZhao (flyfei)
2
Activity
Badge
Generate
Download
Source code
APK file

Commercial

CustomMenu is a custom control that can help you quickly create Menu

Features:

  • Only the left menu
  • Only the right menu
  • Together with the right and left menu
  • About menus do not, CustomMenu equivalent of a layout

中文

Legend

  • Only the left menu

  • Only the right menu

  • Together with the right and left menu

  • About menus do not, CustomMenu equivalent of a layout

For Users

CustomMenu customMenu = new CustomMenu(this);

//Setting Content Layout
ImageView contentView = new ImageView(this);
contentView.setBackgroundResource(R.drawable.main_view);
customMenu.setContentView(contentView);

//Setting the left menu
ImageView leftMenu = new ImageView(this);
leftMenu.setBackgroundResource(R.drawable.left_view);
customMenu.setLeftMenu(leftMenu);

//Setting the right menu
ImageView rightMenu = new ImageView(this);
rightMenu.setBackgroundResource(R.drawable.left_view);
customMenu.setRightMenu(rightMenu);

//Open Left Menu
customMenu.openLeftMenuIfPossible();

//Open Right Menu
customMenu.openRightMenuIfPossible();

//Close Menu
customMenu.closeMenu();

//Get State
customMenu.getState()

//Setting the right Shadow
setRightShadow(int resId);
setRightShadow(Drawable shadowRight);

//Setting the left Shadow
setLeftShadow(int resId);
setLeftShadow(Drawable shadowLeft);

Latest Version

Download

Feedback

If you have any questions,please emailto:zhaotengfei9@gmail.com

Thanks

designzway

Copyright and Licensing

The MIT License (MIT)

Copyright © 2015 Tovi

Permission is hereby granted, free of charge, to any person obtaining a copy of 
this software and associated documentation files (the “Software”), to deal in the 
Software without restriction, including without limitation the rights to use, copy, 
modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
and to permit persons to whom the Software is furnished to do so, subject to the 
following conditions:

The above copyright notice and this permission notice shall be included in all 
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.