Back to project page transitions-everywhere.
The source code is released under:
Apache License
If you think the Android project transitions-everywhere listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package android.transitions.everywhere.utils; /* ww w . j av a 2 s .c om*/ import android.annotation.TargetApi; import android.os.Build.VERSION_CODES; import android.view.ViewGroup; import java.lang.reflect.Method; @TargetApi(VERSION_CODES.JELLY_BEAN_MR2) class ViewGroupUtilsJellyBeanMr2 { private static final Method METHOD_suppressLayout = ReflectionUtils.getMethod(ViewGroup.class, "suppressLayout", boolean.class); public static void suppressLayout(ViewGroup group, boolean suppress) { ReflectionUtils.invoke(group, null, METHOD_suppressLayout, suppress); } }