-
Notifications
You must be signed in to change notification settings - Fork 2
rodja/FlipViewDemo
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This example generalizes (and fixes) the 3D flip animation from the Android API Demos. Now it should work with any pair of Views placed in a FrameLayout container. See this stripped example to get the meaning: <FrameLayout android:id="@+id/container"> <TextView android:text="@string/frontside"/> <TextView android:text="@string/backside" android:visibility="gone"/> </FrameLayout> viewSwitcher = new ViewSwitcher((ViewGroup) findViewById(R.id.container)); // flip viewSwitcher.swap(); Fetch your precompiled demo Android package from http://github.com/downloads/rodja/FlipViewDemo/FlipViewsDemo.apk
About
Generalization of the Transition3d feature found in the Android API Demos
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published