Java Code Examples for android.view.ViewGroup.postInvalidate()

The following are Jave code examples for showing how to use postInvalidate() of the android.view.ViewGroup class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
Example 1
Project: AndroidTvDemo   File: TvViewBring.java   Source Code and License Vote up 5 votes
public void bringChildToFront(ViewGroup vg, View child)
{
    position = vg.indexOfChild(child);
    if (position != -1)
    {
        vg.postInvalidate();
    }
}