Page Transformer animation like Google Play Books app - android

I want to implement animation when change the page in ViewPager, I know that I must use PageTransformer. I want to create an animation as Play Books app from google (like this).
I had searched a lot but no answer was accepted.
Any one can help?

There are many page curl libraries:
android-FlipView
transitionviewpager
android-flip
FoldableLayout
FoldableLayout2
android_page_curl
I wish one of them fulfill your need

Related

How to create intro sliders like Google Docs App [Img inside]?

In the new Google Docs Android App, the app has an intro slider view in which it shows the different steps of how to use the app - I like it and want to do something similar for my app.
Are there beautiful looking open source libraries to do this? I can think of the following approaches only:
ShowcaseView
I guess I could do it using Tabs, and adjust the look and feel accordingly.
Any other (beautiful) alternatives?
(This question is slightly old, but here goes:)
Another open source Android library that I found that does exactly this (and fairly easily) is AppIntro.
It enables creation of intro sliders that look identical to Google's more recent intro sliders:
vs
Their wiki and their readme nicely describe exactly how to use it.
You can achieve this by using ViewPager.
For each click on "next" button you can change the page in ViewPager.
http://www.edumobile.org/android/android-beginner-tutorials/view-pager-example-in-android-development/

Google Plus Android App UI Design - ListView swipe up into view

Could someone please explain how Google implemented the "detail" page of their Google + app? The detail page features an image at the top (which can be tapped) and a ListView that is positioned roughly 50% down the screen.
Like so:
Example
When you swipe up the ListView moves up to fill the entire screen:
Example
After this, additional swipes control the listView up/down:
Example
I've done my research but very little is available to suggest how they implemented this.
Thanks
The short answer is that they're using various tricks for enabling the sliding menus. Tons of resources have been authored by folks in the Android community, most notably:
The video on the subject here:
https://plus.google.com/115177579026138386092/posts/FjnASs9no1a
The sample that was authored to accompany the video:
https://github.com/jfeinstein10/SlidingMenu
And finally, a demo app that exists in the play store.
The easiest way to get the demo is to search for SlidingMenu Demos in the Play store. The specific controls of interest in the Demo are the "ViewPager" example and the "Slide" example.
When you look at the library, you'll notice that it pretty much rewrites significant pieces of the existing controls from View on up as well as custom transformations for a canvas element used in the view.
The sample that Jeremy authored, which really is an alternative library to existing ListView and Page controls, supports a large spectrum of Android devices as well as a number of UI controls that are slightly different variations of the examples you gave and that use varying transitions.

Android swipe left and right from record to record

A lot of apps that I have (such as gmail) has a feature where you can swipe left and right to go from one record to another. In gmail, this navigation takes you from one email to the next (or previous, depending on which way you swipe). When you reach the end, you get this blue halo effect, and the swiping in that direction doesn't work. My question is, what is this navigation called? Is it something in the sdk, or is it written by the developer for each app? Can I use it in my app where I have data stored in the sqlite database that I would like to show one record at a time this way? Is it available in all sdk versions?
I would search for it, but I don't know what it's called so I can't really think of any good search terms here. If someone just points me in the right direction, I can read the documentation and figure it out.
The component you are looking for calls ViewPager. You'll find in under the compatibility pack jar.
android viewPager implementation
http://android-developers.blogspot.co.il/2011/08/horizontal-view-swiping-with-viewpager.html
You can use something called a viewFlipper if you want to use animations.
There's a nice tutorial here: http://www.warriorpoint.com/blog/2009/05/26/android-switching-screens-in-an-activity-with-animations-using-viewflipper/
Good luck :)

Navigation (pagination) inside articles like Google Current (Android)

I would like some help about an Android Application. I used the new Google Currents application and saw how the user can navigate inside an article. This is like the iOS' dots but with a bar instead of the dots.
Can you give me some clue about how google did it ? I'm not asking the code but the way to do it because I can't figure out how to begin.
You can try using a ViewPager with a ViewPagerIndicator like the one in Google Currents
More on
ViewPager
ViewPagerIndicator:
You are referring to the 'circles' ViewPagerIndicator like so:
For more information, try downloading the sample ViewPagerIndicator app from the play store

How to implement screenshots gallery like Google Play?

I'm wondering how to implement gallery of screenshots like Google Play (Android Market). If i use typical Gallery, the problem is the first item of gallery is at the center(it has big big space at the beginning and the same at the end). I tried some horizontal listview but it seem has problem with scrolling when i push my horizontal listview in another scrollview link. In Google Play, the "gallery" doesn't have space at the beginning.
Thanks in advance.
use a ViewPager. it's used extensively in Google's in-house apps and works quite well for horizontal paging. it's also a pretty excellent replacement for TabHost.
Gallery is actually deprecated in favor of ViewPager.
Actually i finished my project long ago and forgot close question. Using this Android: Create an image Viewer using ViewPager.
For future guests, you can see another training from Android Developer about ViewPager here:
Displaying Bitmaps in Your UI

Categories

Resources