分类侧滑菜单 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

Probability and Computing: Randomization and Probabilistic Techn

Probability and Computing: Randomization and Probabilistic Techn

Michael Mitzenmacher、Eli Upfal / Cambridge University Press / 2017-7-3 / USD 62.23

Greatly expanded, this new edition requires only an elementary background in discrete mathematics and offers a comprehensive introduction to the role of randomization and probabilistic techniques in m......一起来看看 《Probability and Computing: Randomization and Probabilistic Techn》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

MD5 加密
MD5 加密

MD5 加密工具

SHA 加密
SHA 加密

SHA 加密工具