Horizontal scrolling between activities in Android
I'm building a new application to the Android platform and I want to implement moving between different activities by scrolling. I want also to use some kind of scrolling effect like in this example. I've searched the web and found a couple of examples using view pager and fragments, but my problems are: View pager is used to switch between views and I want to switch between different activities. I don't want to use fragments because I don't think it's going to fit to earlier API (before Android 2.1). So, for my questions: Is there any other way for doing it, except of using onFling gesture and then losing the sliding effect? Can I use fragments to the earlier API's? Thanks.
Of course it is possible to use fragments in lower versions. You simply have use the android support library and impost viewpager to your app. Here is a very good example which uses View Pager and fortunately it implements the support libraries and it worked for me from android 2.1. http://viewpagerindicator.com/
You can use fragments in earlier versions, using android-support-v4. If you work with Eclipse, you can add it to your project by right-click on it, "Android Tools", then "Add Support Library... "
How to do a tap on the screen in AccessibilityService in Android 7
Android studio PDF text with spaces
How to enable second SPI channel of Raspberry Pi 3 on Android Things?
Combine 2 observables and get output from one which complete first
How to customize Leanback's ListRows?
What is the max number of Android emulators running with intel HAXM on the same PC?
How to add side drawer? [Nativescript + Angular]
CheckBox setChecked has no effect
FragmentManager is already executing transactions Android
Android method cannot run
Android two Textviews, align them as one paragraph
Robolectric AsyncTask callback
why the checkBox is check when setChecked(false) is called
How to identify android app installations [duplicate]
A/libc: Fatal signal 6 (SIGABRT) at 0x0000315f (code=-6), thread 12639
send SMS using Twilio android