Skip to content

Latest commit

 

History

History
56 lines (34 loc) · 1.39 KB

File metadata and controls

56 lines (34 loc) · 1.39 KB

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);

Feedback

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