Page Curl Animation - Issue
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 questions and
Solution 1:
I had used Page Curl example.. I am posting my code.. I hope it helps you.. On next button click write below code:-
PageCurlViewpageCurlView=newPageCurlView(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);
Post a Comment for "Page Curl Animation - Issue"