Skip to content

chenjishi/SlideActivity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

A iOS like slide back Activity framework.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages