Code example for RelativeLayout

Methods: getChildAt, getChildCount

0
		RelativeLayout curr = null;
		if (v instanceof RelativeLayout) {
			curr = (RelativeLayout) v;
		} 
		if (null != curr) {
			for (int i = 0;i < curr.getChildCount();i++) {
				View vi = curr.getChildAt(i);
				if (vi instanceof FrameLayout) {
					mCurrentFrame = (FrameLayout) vi;
					break; 
				} 
			} 
		} 
		if (null == mCurrentFrame) {
			return null; 
		} 
		return mCurrentFrame;
	} 
	 
	private void gotoShout() { 
Connect your IDE to all the code out there  Get Codota for Java