I would like to develop an application, which has a part, when I have to print a long text on the screen. My question is: What layout or view or ? are you recommend for Me, if I want to make paging effect? Some text could reserve more pages, and I would like to scroll between these pages with an effect like e-book readers does it. What shall I prefer? Webview? TextView with modifications? Canvas? Or What?
Please give me tips. (I just need some direction to where shall I start now)
Thanks in advance!
I think you're refering to the ViewPager :
http://developer.android.com/training/animation/screen-slide.html
If so, I recommend you to follow this training and come back on StackOverFlow if you have a problem, with some code, or something you've tried and hasn't worked.
Related
Hi guys i wan't to know that how can i achieve this kind of view??what i can think is ListView inside ScrollView but i don't think that will work the same way as in the picture also i think listview inside a scroll view is not a very good practice.
also i am thinking that can this be done via a parallax view??
Basically i am not asking for code(but if u can provide,i would be very grateful to you ;) )
but just the basic way explaining ,how i can achieve this.
This is known as parallax scrolling. Thankfully there are a variety of ways to do this, and even some really mature libraries to help you out.
The below article is a really great breakdown of someone trying to recreate the Profile screen in Google+:
http://antoine-merle.com/blog/2013/10/04/making-that-google-plus-profile-screen/
Here is a library that the article recommends, and one that I have used with great success in a few apps:
https://github.com/chrisjenx/Paralloid
While going through a IOS app in my company, I saw the buttons set in a horizontal scroll view in a animated manner which looked really good. When asked the IOS developers they said it is a pre built in function available in xcode. I want to know whether it can be achieved in Android.
Details regarding the scroll view.
There are buttons when scrolled over revolves around. To be more precise it moves in the anti-clockwise direction but doesn't disappear from view.
Thanks in advance for the help.
May be this is what you want or it may help you
http://www.codeproject.com/KB/android/androcarousel.aspx
If my understanding is correct about your question, We have HorizontalScrollView to achieve that in android. You have to do your own animation while scroll. There is no in build animations while scrolling.
Please go through the following link.
I'm developing an app that require the selection of one element (out of three) from the user.
Right now I've tried to developed a Spinner, and then a RadioGroup, they were both working but I find them not really catching.
The spinner is too simple, but easy to see. In the other hand the RadioGroup is more fancy (with some background customization), but not yet nice as I would.
I would like to implement something like a ScrollView, but with that nice "bumping" effect, the selection in the middle and the shadow on top and bottom.
A sample image:
The Libra app has this kind View for the adding of your weight:
Is the Scroller what I'm looking for? Any example or tutorial?
Thanks!
I think AndroidWheel is what you are looking for
There is no default View would do what you're asking for. Gallery does something similar but is deprecated.
Scroller isn't a View but a utility class to help View's implement Scrolling.
There are of course, libraries available to help you.
I need a little help with something that I want to achieve. A want to implement this kind of view in my application :
like the button at the bottom of the page, and when user touch it, it's slide above and show other content. I'm pretty sure that I've found examples like that before, but now when I needed I couldn't find anything similar.
Any ideas what should I look for or even better if you can show me a link to a similar example I will appreciate that!
Thanks in advance!
check this
http://techdroid.kbeanie.com/2009/08/android-sliding-drawer-example.html
Is possible to do a vertical scroller animation in Android without using javascript? Anybody knows a tutorial o a web page with a helpful code? thanks
I'm not sure of what you mean by vertical animation but I think this tutorial can help you.
Animations of views are based on Interpolators that you can set, and one of them is the LinearInterpolator which is detailed here.
EDIT, further to the comments below:
This is something you can do with the scrolling and animation features of the View class, as described here (ctrl-f "Scrolling" and "Animation" in that page).
Should the API level you are using be too low, this is also something you can do with a Thread that modified the position of the TextView embedded in your layout or that uses the scrollXX() functions. This is also described in the page linked above.
Have you looked at the viewflipper control.
I've tried this in the past and it works well. You can also use ViewAnimator class
UPDATE
The google documentation is a bit hard to chew through. You may wish to try this simple tutorial first.