Page Curl for Android

Overview

Page Curl for Android

Overview

The android-page-curl is a 2D View which simulates a page curl effect. Without OpenGL, only the android canvas has been used, so that it can be used in any version of Android!

Showcase

Page Turner

The synchronizing e-reader for Android.

Page Turner is an open-source e-book reader for Android that allows you to synchronize your reading progress across devices. This means you can read a few pages on your phone and then grab your tablet and pick up on the exact spot you left off on your phone. Grab quick reading moments anywhere, anytime.

Page Turner does not use the android-page-curl out of the box, they transformed it into an animator class! It's a great reader and of course all open-source!

Demo

Have a look at the demo video.

Current State

By now it just switches between 2 images. But the idea is to render any view to animage and using two (foregound and background) images to create the effect. In some thime the flipper will inherit from ViewGroup? instead if View so that content providers and adapters will be able to add views to it.

License

The project is licensed under the New BSD License so you can use it in commercial projects too. If you are building something with it please send us a mail and we will add you into the showcase section.

Comments
  • targetSdkVersion

    targetSdkVersion

    Can't set targetSdkVersion to be higher than "13" in the Android Manifest. If you do, about halfway through the curl it starts showing the background on top of the foreground.

    opened by Xlythe 4
  • Where are he styles?

    Where are he styles?

    well i clone the project but it dont have any of styles insade

    TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.PageCurlView);

    		// Get data
    		bEnableDebugMode = a.getBoolean(R.styleable.PageCurlView_enableDebugMode, bEnableDebugMode);
    		mCurlSpeed = a.getInt(R.styleable.PageCurlView_curlSpeed, mCurlSpeed);
    		mUpdateRate = a.getInt(R.styleable.PageCurlView_updateRate, mUpdateRate);
    		mInitialEdgeOffset = a.getInt(R.styleable.PageCurlView_initialEdgeOffset, mInitialEdgeOffset);
    		mCurlMode = a.getInt(R.styleable.PageCurlView_curlMode, mCurlMode);
    

    wher are those styles?

    opened by Kharlos 1
  • Speed of turning the page is very slow

    Speed of turning the page is very slow

    Thanks for the awesome. I am a newbie to android and trying to play with the library. After I imported the project, the page turning effect when I swipe is faster but when swipe is stopped, the turning effect is very slow. Hope I need to change the "mUpdateRate" but it dine worked still the same. Please let me know where we have to change the parameter to achieve proper speed in turning the page.

    opened by jaddict007 1
  • Question about flipping

    Question about flipping

    Hi!

    I really like your work and would like to use it, but I can't figure out, how can I turn off flipping when I just touch the screen. Is it possible somehow?

    I thought I do a book like app, but it's not good that when I just touch the screen it flips. I rather want to use it like I start pulling the view and when it is over the half or quarter of the views width, then it flips automatically.

    I really appreciate any help you can provide.

    opened by Yok86 1
  • page's child layout is not clickable

    page's child layout is not clickable

    I have three pages in which I have multiple Buttons and EditTexts and i want to perform an action on click of a button. I tried to make my three pages clickable=true and focusable=true, but still, it is not working

    opened by YachikaJ 0
  • Upgrade Android SDK version

    Upgrade Android SDK version

    I need to upgrade the version of sdk android. In the example project use version 4. I put it to compile in 25 and minimum 16. But I'm losing the effect of page curl. Is there any way to maintain this compatibility?

    opened by victorcs85 1
Owner
Moritz Wundke
Moritz Wundke
3D Style Page Flip on Android

PageFlip This project is aimed to implement 3D style page flip on Android system based on OpenGL 2.0. For JNI version, please visit: android-PageFlip-

eschao 1.7k Dec 19, 2022
A component for flip animation on Android, which is similar to the effect in Flipboard iPhone/Android

android-flip Aphid FlipView is a UI component to accomplish the flipping animation like Flipboard does. A pre-built demo APK file for Android OS 2.2+

Bo 2.8k Dec 21, 2022
:rocket: Ultimate Android Reference - Your Road to Become a Better Android Developer

The goal of this project is to provide a hand-picked collection of Android libraries, tools, open-source projects, books, blogs, tutorials - you name

Aritra Roy 7.6k Jan 4, 2023
Deprecated in favour of https://developer.android.com/reference/android/support/v4/view/animation/PathInterpolatorCompat.html

Deprecated: use https://developer.android.com/reference/android/support/v4/view/animation/PathInterpolatorCompat.html instead. android-cubic-bezier-in

Codesoup 161 Jan 1, 2023
Android Country Picker is a Kotlin-first, flexible and powerful Android library that allows to integrate Country Picker with just a few lines.

1. Add dependency dependencies { implementation 'com.hbb20:android-country-picker:X.Y.Z' } For latest version, 2. Decide your use-case

Harsh B. Bhakta 65 Dec 6, 2022
Allows the easy creation of animated transition effects when the state of Android UI has changed

android-transition Android-Transition allows the easy creation of view transitions that reacts to user inputs. The library is designed to be general e

Kai 615 Nov 14, 2022
Actions for android animations. Inspired by libgdx scene2d actions.

Android Animations Actions Actions for android animations. Inspired by libgdx scene2d actions. The main goal of this project is making creating of com

dtx12 137 Nov 29, 2022
Android library for swipable gestures

Swipper Android Library for custom views to control brightness , volume and seek through swipable gestures . These views could easily replace the conv

Mobile Development Group 105 Dec 30, 2022
Android Library that lights items for tutorials or walk-throughs etc...

Spotlight Gradle dependencies { implementation 'com.github.takusemba:spotlight:x.x.x' } Usage val spotlight = Spotlight.Builder(this) .setTarg

TakuSemba 3.4k Jan 4, 2023
[] An Android library which allows developers to easily add animations to ListView items

DEPRECATED ListViewAnimations is deprecated in favor of new RecyclerView solutions. No new development will be taking place, but the existing versions

Niek Haarman 5.6k Dec 30, 2022
An amazing and convenient Android image slider.

Android Image Slider ![Gitter](https://badges.gitter.im/Join Chat.svg) This is an amazing image slider for the Android platform. I decided to open sou

代码家 5.6k Jan 7, 2023
Android ImageViews animated by Ken Burns Effect

KenBurnsView Android library that provides an extension to ImageView that creates an immersive experience by animating its drawable using the Ken Burn

Flávio Faria 2.7k Jan 2, 2023
You can easily access the top of the screen in Android. Like a iPhone 6 & 6 Plus.

Reachability on Android Easy access on top. Like a iPhone 6 & 6 Plus. demo apk Usage Add dependencies compile 'com.github.sakebook:Reachability:0.2.0@

sakebook 258 Nov 12, 2022
Android Animation Easing Functions. Let's make animation more real!

Android Easing Functions This project is originally from my another project, AndroidViewAnimation, which is an animation collection, to help you make

代码家 2.5k Jan 4, 2023
Android view with both path from constructed path or from svg.

android-pathview You want to animate svg or normal Paths?<br> Change the color, pathWidth or add svg.<br> Animate the "procentage" property to make th

Georgi Eftimov 2.9k Dec 30, 2022
Render After Effects animations natively on Android and iOS, Web, and React Native

Lottie for Android, iOS, React Native, Web, and Windows Lottie is a mobile library for Android and iOS that parses Adobe After Effects animations expo

Airbnb 33.5k Jan 4, 2023
💪 Rich Android Path. 🤡 Draw as you want. 🎉 Animate much as you can.

?? Rich Android Path. ?? Draw as you want. ?? Animate much as you can. Download sample app: Features Full Animation Control on Paths and VectorDrawabl

Ahmed Tarek 2.3k Dec 20, 2022
Android Rubber Picker Library

RubberPicker RubberPicker library contains the RubberSeekBar and RubberRangePicker, inspired by Cuberto's rubber-range-picker. Getting started Setting

Chrisvin Jem 547 Jan 5, 2023
Android L Ripple effect wrapper for Views

Material Ripple Layout Ripple effect wrapper for Android Views Including in your project compile 'com.balysv:material-ripple:1.0.2' Check for latest v

Balys Valentukevicius 2.3k Dec 29, 2022