Skip to content

bushijie/ParallaxSwipeBack

Repository files navigation

Android ParallaxSwipeBack

带视觉差的侧滑返回,类似于新版微信和lofter的侧滑返回效果。核心代码小于50行.
image

Usage

`public class MainActivity extends ParallaxSwipeBackActivity {

@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);
    findViewById(R.id.next).setOnClickListener(new View.OnClickListener() {
        @Override
        public void onClick(View v) {
            Intent intent = new Intent(MainActivity.this,NextActivity.class);
            intent.putExtra("index",0);
            startParallaxSwipeBackActivty(MainActivity.this, intent);
        }
    });

}`   

Very little code, are all here ParallaxSwipeBackActivity

代码非常少,都在这里

http://blog.csdn.net/hanhailong726188/article/details/46433229

About

带视觉差的侧滑返回,类似于新版微信和lofter的侧滑返回效果。核心代码小于50行

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy