Code example for View

Methods: setLayoutParams

0
		{ 
			if ( child instanceof Layout ) 
			{ 
				if ( !((Layout) child).isScrollable() ) 
				{ 
					rootView.setLayoutParams( 
							new ViewGroup.LayoutParams( nativeLayoutParams.width, nativeLayoutParams.height ) ); 
				} 
			} 
		} 
		else 
		{ 
			childView.setLayoutParams( nativeLayoutParams ); 
		} 
	} 
 
	/** 
	 * Removes a child form this layout, by default 
	 * the view of the child is removed from the wrapped 
	 * ViewGroup. 
Stop searching for code, let great code find you!  Add Codota to your java IDE