Code example for RelativeLayout.LayoutParams

Methods: addRule

0
		return new android.view.View( Activity.getInstance() );
	} 
	 
	protected android.view.ViewGroup.LayoutParams createSelfLayoutParams()
	{		 
		RelativeLayout.LayoutParams result = new RelativeLayout.LayoutParams( RelativeLayout.LayoutParams.FILL_PARENT, RelativeLayout.LayoutParams.FILL_PARENT );
		result.addRule( RelativeLayout.ALIGN_PARENT_LEFT, RelativeLayout.TRUE );
		return result;
	} 
	 
	protected android.view.ViewGroup createViewGroup()
	{ 
		return new android.widget.RelativeLayout( Activity.getInstance() );
	} 
	 
	protected android.view.View getAndroidView()
	{ 
		return mViewGroup;
	}