Android page Curl animation
I'm implementing a 2D page curl in the native canvas. Check my answer in: Implement page curl on android?
EDIT: The code project of my implementation: http://code.google.com/p/android-page-curl/
EDIT2: Links updated
Page Curl Animation in android?
I found one sample code.
youtube
mediafire
Page Curl effect using harism page curl library, page background appears with black border in place of transparency.
Comments these lines in the activity
r.left += border;
r.right -= border;
r.top += border;
r.bottom -= border;
r.left += ((r.width() - imageWidth) / 2) - border;
r.right = r.left + imageWidth + border + border;
r.top += ((r.height() - imageHeight) / 2) - border;
r.bottom = r.top + imageHeight + border + border;
replace this function in the CurlView Activity
public void setMargins(float left, float top, float right, float bottom) {
mRenderer.setMargins(left, top, right, bottom);
}
Related Topics
How to Know Whether a Recyclerview/Linearlayoutmanager Is Scrolled to Top or Bottom
Captured Photo Orientation Is Changing in Android
Android Back Button on a Progressive Web Application Closes De App
Input Has Different Style on Focus
Android Studio - Processdebugresources Failed
Emulator: Warning: Quick Boot/Snapshots Not Supported on This Machine
Bordercolor Not Picking The Lineargradient Color on Android
Is Fcm (Firebase Cloud Messaging) Token for One Device or for One Account
Is There an Android Based Google Glass Emulator
Getting a JSONexception: End of Input at Character 0
Android: HTML in Textview with Link Clickable
What Is The Easiest Way to Use Svg Images in Android
How to Access Files Under Assets Folder of Other APK'S
CSS - Background-Size: Cover; Not Working in Firefox
Onpagefinished() Never Called (Webview)!
Searchview in Centre and After Focus It Goes to App Bar in Android