I am using the Page curl animation in my application.
Code can be found here: https://github.com/harism/android_page_curl/.
That code is working fine but i
For the full screen display you have to use like that
private class SizeChangedObserver implements CurlView.SizeChangedObserver {
public void onSizeChanged(int w, int h) {
if (w > h) {
mCurlView.setViewMode(CurlView.SHOW_TWO_PAGES);
mCurlView.setMargins(0f, 0f, 0f, 0f);
} else {
mCurlView.setViewMode(CurlView.SHOW_ONE_PAGE);
mCurlView.setMargins(0f, 0f, 0f, 0f);
}
}
}
}
Also to show the animation see that link Page curl animation - issue
Have you tried changing
int margin = 7;
int border = 3;
to eks.
int margin = 0;
int border = 0;
the loadBitmap(..) function?
I actually removed the boarder and margins within loadBitmap some time ago in a project i worked on, but i dont have the code anymore..