Code example for LinearLayout

Methods: removeAllViews

0
 
    /** 
     * Removes all action views from this action bar 
     */ 
    public void removeAllActions() { 
        mActionsView.removeAllViews();
    } 
 
    /** 
     * Remove a action from the action bar. 
     * @param index position of action to remove 
     */ 
    public void removeActionAt(int index) {
        mActionsView.removeViewAt(index);
    } 
 
    /** 
     * Remove a action from the action bar. 
     * @param action The action to remove 
     */ 
    public void removeAction(Action action) {