Code Monkey home page Code Monkey logo

tiexuelinglongnv / slidingmenubestimplementation Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wangyang0313/slidingmenubestimplementation

0.0 0.0 0.0 3.27 MB

侧滑菜单栏SlidingMenu优化实现(SlidingMenu + FragmentTabHost)主要功能包括:通过手势左滑(右滑)展示菜单栏、通过点击按钮展示左滑(右滑)菜单栏、FragmentTabHost的切换、侧滑菜单栏的点击事件(切换Fragment)、返回键关闭侧滑菜单栏、侧滑菜单栏的沉浸式效果、侧滑剩余部分的阴影效果等。 博客:https://blog.csdn.net/qq941263013/article/details/81116930

Java 100.00%

slidingmenubestimplementation's Introduction

SlidingMenuBestImplementation

Android 侧滑菜单栏SlidingMenu优化实现(SlidingMenu + FragmentTabHost),主要功能包括:通过手势左滑(右滑)展示菜单栏、通过点击按钮展示左滑(右滑)菜单栏、FragmentTabHost的切换、侧滑菜单栏的点击事件(切换Fragment)、返回键关闭侧滑菜单栏、侧滑菜单栏的沉浸式效果、侧滑剩余部分的阴影效果等。
项目博客地址:https://blog.csdn.net/qq941263013/article/details/81116930
个人博客地址:https://blog.csdn.net/qq941263013
效果图:



简单说明(详细描述见博客、源码):
    1.导入优化后的开源库SlidingMenuLibrary;
   2.因为侧滑菜单栏需要实现沉浸式效果,所以首先需要SlidingMenu依赖的Activity也实现沉浸式状态栏效果(4.4以上);
   3.初始化SlidingMenu实现侧滑菜单栏;
   4.初始化侧滑菜单栏中按钮的点击事件:
   5.返回键关闭处于开启状态的菜单栏:
   6.在Fragment中开启侧滑菜单栏:
   

slidingmenubestimplementation's People

Contributors

wangyang0313 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.