Code example for RadioGroup

Methods: getChildAt

0
	/** 
	 * 设置选中指定索引RadioButton 
	 * @param position 索引 
	 */ 
	public void performClickRadioButton(int position){
		if (itemRadioGroupView != null && itemRadioGroupView.getChildAt(position) != null) {
			itemRadioGroupView.getChildAt(position).performClick();
		} 
	} 
	/** 
	 * 显示和隐藏左右两边的箭头 
	 */ 
	public void showAndHideArrow() { 
		if (!mActivity.isFinishing() && scrollViewLayout != null) {
			this.measure(0, 0);
			if (screenWitdh >= this.getMeasuredWidth()) {
				if (mLeftPromptImageView != null) {
					mLeftPromptImageView.setVisibility(View.GONE);
				} 
				if (mRightPromptImageView != null) {
					mRightPromptImageView.setVisibility(View.GONE);