plusminus wrote:Hello palak1302,
any Class the extends View (like ImageView) and is present in the Layout set via [font=Lucida Console]setContentView()[/font] and offers an [font=Lucida Console]android:id=...[/font] .
Layouts (and more generally descendants of ViewGroup) can be animated using an android.view.animation.LayoutAnimationController. See ViewGroup and ApiDemos for more details. A LayoutAnimationController is associated with a regular Animation and the ViewGroup will query the controller for a copy of that Animation for each of its children. Every child will have the same animated behavior (for instance, fade in or fade out) each individual's animation will start at a different time. The role of a LayoutAnimationController is to compute the start time of each child's animation. For instance, GridLayoutAnimationController will compute the start time based on the X and Y position of a child in a GridView whereas LayoutAnimationController will simply use the index of the child in the ViewGroup. The controller lets you specify the order (normal, reverse or random) and priority of the animations (columns first, rows first or both).
Users browsing this forum: No registered users and 11 guests