A iOS like slide back Activity framework.
Java
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
SlideActivity
.gitignore
LICENSE
README.md
demo.gif

README.md

SlideActivity

A iOS like slide back Activity framework, slide left edge to exit current activity.

If you have any idea to improve this project, any commits welcomed:)

download demo in Google Play SlideActivity

ScreenShot

slideback

Usage

1.Extend SlideActivity

public class DetailActivity extends SlideActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_detail);        
    }
}

2.Start Activity By Slide Method

public void onButtonClicked(View v) {
        Intent intent = new Intent(this, ImageActivity.class);
        Slide.getInstance().startActivity(this, intent);
    }

All Done!