Code example for AppWidgetHostView

Methods: setId, setLayoutParams, setPadding

            //adding to same row just be on the right of previous widget and bottom edge aligned to it's bottom edge 
            //if (!shouldFill) widget.setPadding(0, 0, 0, 0); else 
            widget.setPadding(0, 0, 0, 0);
            return widget; 
        private void RepopulateWidgetView(int Id) {
        	//places one widget based on the manager ID we are passing 
        	//we use this to put in a previously chosen widget. it will be done in onCreate 
        	//this allows us to just iterate this passing each ID in order