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

The following examples show how to use android.view.ViewGroup#postInvalidate() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: TvViewBring.java    From AndroidTvDemo with Apache License 2.0 5 votes vote down vote up
public void bringChildToFront(ViewGroup vg, View child)
{
    position = vg.indexOfChild(child);
    if (position != -1)
    {
        vg.postInvalidate();
    }
}
 
Example 2
Source File: WidgetTvViewBring.java    From AndroidTVWidget with Apache License 2.0 4 votes vote down vote up
public void bringChildToFront(ViewGroup vg, View child) {
	position = vg.indexOfChild(child);
	if (position != -1) {
		vg.postInvalidate();
	}
}
 
Example 3
Source File: WidgetTvViewBring.java    From Android-tv-widget with Apache License 2.0 4 votes vote down vote up
public void bringChildToFront(ViewGroup vg, View child) {
	position = vg.indexOfChild(child);
	if (position != -1) {
		vg.postInvalidate();
	}
}