remove All Children from ViewGroup - Android User Interface

Android examples for User Interface:ViewGroup

Description

remove All Children from ViewGroup

Demo Code


//package com.java2s;

import android.view.ViewGroup;

public class Main {
    public static void removeAllChildren(ViewGroup parent) {
        parent.removeAllViews();//from  w w  w  . j  a v  a  2  s.co m
    }
}

Related Tutorials