Implement Page Curl/ Turn effect on single layout - android

I know page curl is discussed a lot times before(like here, here , this). Am supposed to do a book like application where while turning the pages would give the feel of a real book page. I have a layout which holds a text view and on next and previous button click am able to update the page content.
But implementing a pagecurl on this layout seems a lot difficult. Most of the samples do curl effect on images say 3 or 5 images. And some others do page curl effect on 2 layouts by flipping between them. In my case I need to bring this effect on my sublayout(linearlayout) within parent layout(relative). I just need to bring a curl effect on my sublayout so as to get the feel of book turning and content updation.
Does anyone have any idea.
Any suggestions/advise is appreciated
Thanks in advance

Related

How to create wallet in android using page curl animation

I have to create this type of layout images are coming from server,images are countless,
at first moment i have 5 imageview to show these five coupons.but when images are more
than five then i have to use a page curl animation to set left images like this.
This snap is the after page curl.but i don't know how to implement this thing. Any helping
hands will be highly appreciated.
Same has been implemented in iPhone application.. So I am looking for help in an Android application.
Any help would be highly appreciated.

Android controls/layouts (How Instagram app does do that?)

I would want to know that how Instagram application listing/showing feed page?
Here is a screenshot: (I found it via Google and resized via tinypic.com. Here is the original file: http://www.digitaltrends.com/wp-content/uploads/2012/04/screenshotsjvc.jpg)
I am talking about 1st and 2nd screens.
As you know, when you go your feed (2nd screen) you can slide down and view other shares.
Every share has these:
Owner picture and username, shared time, a photo and a few things.
How to wrap all these datas in one control/layout in order to multiply?
Which control(s) (LinearLayout, Fragment, TableLayout and its TableRow(s)) are relevant for this kind of application?
I am not an expert Android application developer, that's why I want to know. I have confusion about that.
Thanks in advance.
As per my understanding screen 1 and screen 2 probably different fragments (take a look about fragments here). 1st fragment contains GridView (or some similar control) and 2nd one contains ListView.
I would suggest to begin with ListView. Basically, You will need to develop layout for single item (I think single RelativeLayout might be appropriate here) and then use it as item in the adapter.

Page curl animation to Layouts

I want to give page curl effect when changing Layout, had refered Harism Pagecurl dig it so came to know its giving effect to pre-generated views(Bitmaps) but by requirement is as follows....
Layout can be complex contains various controls(Button, Textview etc.).
I can able to click Button, TextView and can handle its events.
Able to swipe layout with curl effect when I touch area which doesn't contain any control.
Any idea or workaround are welcome, its tricky.

Slideshow-like application

I'm supposed to make a simple android application, in fact it's almost as simple as a slideshow.
The good thing is that the content of each slide is very similar - some text and a photo. So I only have to do one layout and simply switch it's content on a slide motion or a button press.
I think it would be more appealing if I add some suitable animation - e.g. flipping the whole page.
Is there already a tool for this? If there's not than what's the best/simplest way to do this?
http://code.google.com/p/android-page-curl/

Navigate dynamic content horizontaly (ListViews)

sorry for the confusing title. I will try to explain my problem.
My app displays some content day-wise in a ListView. The user is able to switch days back and forth (e.g. by swiping his finger to the left/right). Now I want to implement some nice transition effect (like the new Android market has).
The problem is, that the content is generated dynamically and it can take a while to load. Also you can move (theoretically) infinite days to to past or to the future.
How can I implement a nice looking transition that is responsive and also tells the user, that some work is done in the background.
Just to clarify, I'm not asking how a ListView or an AsyncTask works, but rather for design concepts for my idea.
Thanks in advance.
If I understand correctly what you mean, I think you should try and preload in background the previous and following page, and keep them in memory ready to come in with the swipe.
Every time you change day you would recycle one page of data to load a new one (in one direction or another).
Obviously the user can still swipe too fast and you won't have time to preload things, but in that case I don't think you can do anything better than transitioning in the page with a nice spinner in it (not a blocking dialog).

Categories

Resources