分类侧滑菜单 Side Menu

码农软件 · 软件分类 · Android UI 组件 · 2019-04-26 07:42:09

软件介绍

Side Menu 是用于安卓的分类侧滑菜单。

示例代码:

    ViewAnimator viewAnimator = 
new ViewAnimator<>(ActionBarActivity.this,                                    
new ArrayList<Resourceble>(),
(LinearLayout) findViewById(R.id.left_drawer), 
contentFragment, drawerLayout);    
//to open menu you have to override ActionBarDrawerToggle method 
            @Override
            public void onDrawerSlide(View drawerView, float slideOffset) {                
              super.onDrawerSlide(drawerView, slideOffset);                
              if (slideOffset > 0.6 && viewAnimator.getLinearLayout().getChildCount() == 0)
                    viewAnimator.showMenuContent();
            }            public void onDrawerClosed(View view) {                
                super.onDrawerClosed(view);
                viewAnimator.getLinearLayout().removeAllViews();
                viewAnimator.getLinearLayout().invalidate();
            }


本文地址:https://codercto.com/soft/d/4403.html

Ajax Design Patterns

Ajax Design Patterns

Michael Mahemoff / O'Reilly Media / 2006-06-29 / USD 44.99

Ajax, or Asynchronous JavaScript and XML, exploded onto the scene in the spring of 2005 and remains the hottest story among web developers. With its rich combination of technologies, Ajax provides a s......一起来看看 《Ajax Design Patterns》 这本书的介绍吧!

图片转BASE64编码
图片转BASE64编码

在线图片转Base64编码工具

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具