Java Code Examples for android.widget.LinearLayout.post()

The following are Jave code examples for showing how to use post() of the android.widget.LinearLayout class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
+ Save this method
Example 1
Project: microMathematics   File: ViewUtils.java   View Source Code Vote up 5 votes
/**
 * Procedure updates given view and a given parent layout
 */
public static void invalidateLayout(View v, final LinearLayout l)
{
    v.invalidate();
    l.post(new Runnable()
    {
        @Override
        public void run()
        {
            l.requestLayout();
        }
    });
}