Code example for RelativeLayout.LayoutParams

0
	protected LayoutParams newLayoutParams(int width, int height) {
		return new LayoutParams(width, height);
	} 
	 
	protected RelativeLayout.LayoutParams newLayoutParams(android.view.ViewGroup.LayoutParams source) {
		return new RelativeLayout.LayoutParams(source);
	} 
	 
 
	protected RelativeLayout newRelativeLayout(Activity parent) {
		return new RelativeLayout(parent);
	} 
 
	protected ScrollView newScrollView(Activity parent) {
		return new ScrollView(parent);
	} 
 
	protected ActionBarView newActionBarView(Activity parent) {
		return new ActionBarView(parent);
	}