Let a view fall down from the top of the window without its parent view's layout limit at API 10, if API >= 11, maybe can use PropertyAnimation of android..
DemoFallDownAnimation is hosted in the following web site
https://github.com/YoungLeeForeverBoy/DemoFallDownAnimation
If you think the Android project DemoFallDownAnimation listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The following table is the detailed list of DemoFallDownAnimation.
Item | Value |
---|---|
Java File Count | 1 |
Supported screen sizes | [hdpi] |
Target SDK Version | 17 |
Minimum SDK Version | 8 |
Activity Count | 1 |
jar files used | android-support-v4.jar |
Required Permissions | android.permission.SYSTEM_ALERT_WINDOW |
There are 3 image files in DemoFallDownAnimation. The names of the image files are listed as follows.
arrow.png map.png sword.png
The following screenshort is generated from the image listed above.
DemoFallDownAnimation has the following Java source files.
com.example.demolayoutanim.MainActivity.java