Code example for RadioButton

Methods: toggle, isChecked

0
			case 10: 
				if (!radio_ten.isChecked()) 
					radio_ten.toggle(); 
				break; 
			case 15: 
				if (!radio_fifteen.isChecked()) 
					radio_fifteen.toggle(); 
				break; 
			case 20: 
				if (!radio_twenty.isChecked()) 
					radio_twenty.toggle(); 
				break; 
			default: 
				rg.clearCheck(); 
				break; 
			} 
			percent = progress; 
		} 
 
		@Override 
		public void onStartTrackingTouch(SeekBar seekBar) {