Can any one tell me how to make page turn effect in Android?
Can any one please provide me some code snippet.
相关问题
- How can I create this custom Bottom Navigation on
- Bottom Navigation View gets Shrink Down
- How to make that the snackbar action button be sho
- Listening to outgoing sms not working android
- How to create Circular view on android wear?
相关文章
- android开发 怎么把图片放入drawable的文件夹下
- android上如何获取/storage/emulated/下的文件列表
- androidStudio有个箭头不认识
- SQLite不能创建表
- Windows - Android SDK manager not listing any plat
- Animate Recycler View grid when number of columns
- Why is the app closing suddenly without showing an
- Android OverlayItem.setMarker(): Change the marker
Take a look at this.
It's a Calculator application, which changes between normal/scientific mode on swipe gesture:
It uses
TranslateAnimation
to accomplish the effect, but dragging between the views and tracking your finger, like in the iPhone is not implemented. Try usingfor that.
As for Flexbook-like component, it shouldn't be hard to implement, if you use the masking approach.
Android M3 (pre-1.0 version) even had PageTurner widget, but it got deprecated, since it wasn't generic-enough, like the other widgets. You can try and dig up the old Android sources to find the implementation of PageTurner and modify it for Cupcake/Donut.