Code example for RemoteViews

Methods: addView

0
        mRemoteViews.setViewPadding(viewId, left, top, right, bottom);
    } 
 
    @Override 
    public void addView(int viewId, Object child) {
        mRemoteViews.addView(viewId, (RemoteViews) child);
    } 
 
    @Override 
    public void removeAllViews(int viewId) {
        mRemoteViews.removeAllViews(viewId);
    } 
 
    @Override 
    public void setViewVisibility(int viewId, int visibility) {
        mRemoteViews.setViewVisibility(viewId, visibility);
    } 
 
    @Override 
    public void setViewBackgroundColor(int viewId, int color) {