summaryrefslogtreecommitdiff
path: root/samples/ApiDemos/src/com/example/android/apis/animation/FixedGridLayout.java
Commit message (Collapse)AuthorAgeFilesLines
* Adjust layouts of transition demos to improve fade-outs.Chet Haase2011-02-151-3/+5
| | | | | | | | | | | | 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
* Demo of layout add/remove transitionsChet Haase2010-09-031-0/+106
Change-Id: Ib5f31bb0b6d16fa18cf10a426a25c7a8138f620a