Android examples for User Interface:Layout
set Layout Transition Duration
//package com.java2s; import android.animation.LayoutTransition; import android.view.ViewGroup; public class Main { public static void setLayoutTransitionDuration(ViewGroup viewGroup) { LayoutTransition layoutTransition = viewGroup.getLayoutTransition(); layoutTransition.setDuration(600); layoutTransition.setStartDelay(LayoutTransition.DISAPPEARING, 0); }//w w w.ja v a 2 s. c om }