I am developing a project in which on the same view when a button clicks, the contents got changed. e.g.
suppose there are 5 questions and on next button click, the
I had used Page Curl example.. I am posting my code.. I hope it helps you.. On next button click write below code:-
PageCurlView pageCurlView = new PageCurlView(this, true);
// If you would like to see the on-screen debug info
pageCurlView.bDrawDebug = true;
this.setContentView(pageCurlView);
You can get PageCurlView.java. from here.
You can set color of "mCurlEdgePaint". And put your background in this lines
mBackground = BitmapFactory.decodeResource(context.getResources(),R.drawable.background_main);
mForeground = BitmapFactory.decodeResource(context.getResources(),R.drawable.background_main_bg);