summaryrefslogtreecommitdiff
path: root/samples/ApiDemos/src/com/example/android/apis/animation/LayoutAnimationsHideShow.java
Commit message (Collapse)AuthorAgeFilesLines
* Clean up LayoutTransition demos for smaller screens.Chet Haase2011-10-061-2/+2
| | | | | | | These demos assumed the size of a tablet device and looked pretty awful on phones. Change-Id: I246ef5a5f4619c1f2fe689eca321314375722014
* Fix issues in LayoutAnimationsHideShow demo.Chet Haase2011-08-111-22/+23
| | | | | | | | There were various minor issues with this app that made it not work correctly in some situations (the APPEARING animation was basically a no-op, and disabling the custom animations disabled animations altogether). Change-Id: I20aba9551043a63c21d26208ae7cd0395cde01cb
* Adjust layouts of transition demos to improve fade-outs.Chet Haase2011-02-151-3/+2
| | | | | | | | | | | | When a container's child count goes to zero, it may report a measurement size of zero. This affects LayoutTransition's fading-out of target views because they may get clipped out by a layout that got sized to 0 because it thinks it has no children. The workaround is to tell the layout to size itself either with some minimal size (in the case of the FixedGridLayout used by some demos) or with match_parent in some cases to ensure that the layout always has some nonzero size. Change-Id: I908e64d4fb054928af277a021a328e94477c9c83
* Updated to the new optimized keyframe APIsChet Haase2010-11-031-3/+3
| | | | | | Also fixed some existing bugs in some of the animation apps Change-Id: Iff39a8396f8c49e2db8601b04012a0bb784a78ed
* Updating code to use new non-generified animator APIsChet Haase2010-10-141-26/+24
| | | | Change-Id: I3023db9d1f9cb8bf98b788fce4ae2b58b182987d
* Demos for show/hide layout transitionsChet Haase2010-10-041-0/+180
Change-Id: Idb7ecb66b7dc0126a230385dd09af6a9208d5345